![]() |
How do I convert the add_date data into actual date format?
How do I convert the add_date data into actual date format?
If I put {$products[product].add_date} it will print something like 1080955293. How do I make it display an actual date as mm/dd/yy ? Thanks, :wink: |
to get it to display in the format set in xcart admin use
Code:
{$products[product].add_date|date_format:$config.Appearance.date_format} |
Thank You Shan.
Is there a way to omit the time? I just want the date to be displayed! Thanks, ;) |
for the full low down on all things date in smarty
http://smarty.php.net/manual/en/language.modifier.date.format.php |
Shan,You Rock!
Thank You! ;) |
All times are GMT -8. The time now is 09:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.