| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
formating date in tpl file? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
|
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|