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
|