Difference between revisions of "How to use JDate"
From Joomla! Documentation
|(2 intermediate revisions by one other user not shown)|
Revision as of 10:01, 18 May 2010
JFactory::getDate() gets a JDate object and we then do the JDate toFormat function
JFactory::getDate()->toFormat('%a %d %b %Y - %H:%M')