4
Try putting the smarty php <{php}> echo date('l, d M Y | h:i a');<{/php}> inside your language codetags... like this
[en]<{php}>
$weekday = date('w');
$date = date(d M Y);
$time = date('h:i a');
$day = array('søn','man','tirs','ons','tors','fre','lør');
echo "Today it's " . $day[$weekday] ." ".$date. " and the time is ".$time;
<{/php}>[/en]
I havent tested but should work. And then you just make another for [en] [es] [de] or how many you use
Programming is like sex:
One mistake and you have to support it for the rest of your life.