![]() |
Display the date
Hi all, I have been looking for the variable to display the date with no luck, can anyone help me with this?
|
Re: Display the date
Welcome to X-Cart! Please start by reading the forum guidelines (http://forum.x-cart.com/viewtopic.php?t=6489), and posting your X-Cart version in your signature (click the User CP link at the top of the forum). You can find your version by clicking on the 'Summary' link in your admin area.
You'll find Smarty date information here: http://smarty.php.net/manual/en/language.modifier.date.format.php |
Re: Display the date
Thanks for the quick reply^^
|
Re: Display the date
Can you please update your signature as requested? Thank you.
|
Re: Display the date
I changed it right away, if you do not see the change please let me know?
|
Re: Display the date
Seeing it now, thanks!
|
Re: Display the date
Quote:
The Date is called from many of the email template files, such as: skin1/mail/html/order_invoice.tpl Here's the original variable to display the date with time: {$order.date|date_format:$config.Appearance.dateti me_format} NOTE - Original generates format: Aug 19, 2007 05:04:27 PM Here are a few other date variations: {$order.date|date_format:$config.Appearance.date_f ormat} NOTE - This generates format: Aug 19, 2007 {$order.date|date_format} NOTE - This generates format: Aug 19, 2007 {$order.date|date_format:"%D"} NOTE - This generates format: 08/19/07 Robert |
All times are GMT -8. The time now is 12:04 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.