Actions

How to use JDate

From Joomla! Documentation

Revision as of 08:48, 4 April 2008 by E-builds (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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')