How to use JDate

From Joomla! Documentation

Revision as of 04:28, 9 July 2008 by Masterchief (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Temporary example

JFactory::getDate() gets a JDate object and we then do the JDate toFormat function

JFactory::getDate()->toFormat('%a %d %b %Y - %H:%M')
Personal tools