Page 1 of 1

Date Format Help

Posted: 13 Jun 2020, 07:35
by TechMistress
Is there a place in administrator to change the date and time format, or is this done through the various files by hand?

Thanks!

Re: Date Format Help

Posted: 15 Jun 2020, 12:53
by Jan
Hi, it depends on which date format do you ask. If the data is stored into database, then all data get the same format (database format).

If they are displayed e.g. in frontend, depends on which part, e.g. the Joomla! "DATE_FORMAT_LC2" is used in ask a question form:

Code: Select all

<?php echo JHtml::_('date',  gmdate('Y-m-d H:i:s'), JText::_( 'DATE_FORMAT_LC2' )) ?>
Jan