Show Today's Date?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
toolman
Forum Members
Forum Members
Posts: 51
Joined: Wed Sep 12, 2007 5:10 pm

Show Today's Date?

Post by toolman »

Hi there,

Is it possible to show the current date? For example: Tuesday 2nd November 2010

Thanks
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Show Today's Date?

Post by calguy1000 »

{$smarty.now|cms_date_format}
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
toolman
Forum Members
Forum Members
Posts: 51
Joined: Wed Sep 12, 2007 5:10 pm

Re: Show Today's Date?

Post by toolman »

Many thanks!

Is it possible to display the day too? e.g Tuesday 2, Nov?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Show Today's Date?

Post by Dr.CSS »

User avatar
MikeTroop74
Forum Members
Forum Members
Posts: 65
Joined: Thu Oct 14, 2010 6:58 pm

Re: Show Today's Date?

Post by MikeTroop74 »

calguy1000 wrote: {$smarty.now|cms_date_format}
How do I get this to show the current date with my time zone offset (without showing the time)?

ie - It's Nov 8th, 2010 at 10:56 PM here but {$smarty.now|cms_date_format} shows Nov 9, 2010.

Is there a time zone offset setting somewhere in the Admin I am missing?
Post Reply

Return to “Layout and Design (CSS & HTML)”