View Single Post
  #1  
Old 01-16-2003, 01:11 PM
 
ryan ryan is offline
 

Advanced Member
  
Join Date: Sep 2002
Location: Philly
Posts: 38
 

Default formating date in tpl file?

I have a date in Unix time stamp form stored in a paramXX field in the products table. I need to display this in "mm/dd/yyyy" format on the page. This is easy enough to do in PHP using "date("m/d/Y", $theTimeStamp)" but I have come to find this doesn't work in a tpl file.

Any clue how I can get it to work? Do I need do a include of a php file and pass the value to it?? Any help would be appriciated.

thanks
Ryan
Reply With Quote