Difference between revisions of "How to use JDate"
From Joomla! Documentation
Masterchief (talk | contribs) m |
m (Reverted edits by Winnersoft1220 (Talk) to last version by Masterchief) |
(2 intermediate revisions by one other user not shown) | |
(No difference)
|
Revision as of 11:01, 18 May 2010
Temporary example[edit]
JFactory::getDate() gets a JDate object and we then do the JDate toFormat function
JFactory::getDate()->toFormat('%a %d %b %Y - %H:%M')