Add todays date?
Hello I would like to addtoday's date to the index page somewhere can anyone instruct me on how to do this? I have tried with java script that I use on static pages but no luck and tried to use php but I think I am missing something....
Thanks- Khris |
Hi,
all you need to add to show the date is this Code:
{$currentDate|date_format:"%A, %B %e, %Y"} Just a bit of smarty |
Is there something else to this?
I tried adding it to Customer/home_main.tpl with no success. Suggestions please... |
I use this code:
Quote:
Further info about smarty dates here: http://smarty.php.net/manual/en/language.modifier.date.format.php |
Thanks for that seams simple.
|
Works like a charm. Thank you.
|
Very good.
|
All times are GMT -8. The time now is 04:52 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.