Actions

How to use JDate

From Joomla! Documentation

Revision as of 23:28, 8 July 2008 by Masterchief (Talk | contribs)


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