Last active
December 14, 2015 02:09
-
-
Save 2dpi/5012040 to your computer and use it in GitHub Desktop.
JOOMLA: date format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// change default date format | |
// http://docs.joomla.org/How_do_you_change_the_date_format%3F | |
// http://nl3.php.net/manual/en/function.date.php | |
echo JHtml::_('date',$yourDateVariable, JText::_('j F, Y')); | |
// will output 22 Month, 2013 | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment