3
// in your php file
$xoopsTpl->assign('current_date', time());
<!--// in your template //-->
<{$current_date|date_format}>
Is one way to it. You could stick the php in your /footer.php file and then the smarty tag would be available to all your pages.
HTH