How to display current date (datestamp) on Template

Phoca Templates - templates for Joomla! CMS
ofinet
Phoca Member
Phoca Member
Posts: 30
Joined: 15 Jul 2011, 15:21
Location: UK
Contact:

How to display current date (datestamp) on Template

Post by ofinet »

Hi All,
Does any one know or could help with codes to display current date in a long date format (e.g. 17th Sunday, July 2011)? I will like to display the datestamp just above the Top menu on the Top right-hand of the Template.

Will be much appreciated with help on this!!!!!

Ofinet
ofinet
Phoca Member
Phoca Member
Posts: 30
Joined: 15 Jul 2011, 15:21
Location: UK
Contact:

Re: How to display current date (datestamp) on Template

Post by ofinet »

I worked this out, in case anyone else wants to know how. Use this code <?php echo date('d M Y');?> :D
Last edited by ofinet on 21 Jul 2011, 15:34, edited 1 time in total.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9442
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: How to display current date (datestamp) on Template

Post by Benno »

Well done! :twisted:

Kind regards,
Benno
Post Reply