View Single Post
  #2  
Old 01-08-2007, 06:15 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,101
 

Default Re: Php echo present year

Code:
{$smarty.now|date_format:"%Y"}
http://smarty.php.net/manual/en/language.modifier.date.format.php
__________________
xcms.co.uk
Reply With Quote