Date format
Permalink
Im sure someone has asked this before but can't find it.
Is there any code I can change in C5 that will let me display dates as d-m-y instead of m-d-y?
Cheers
Chris
Is there any code I can change in C5 that will let me display dates as d-m-y instead of m-d-y?
Cheers
Chris
Thanks I will give one of them a go and let you know how I get on.
If I put this code in site.php I can not see anymore the webite.
I had the same. The site was OK once I removed the t() part in the statement, i.e.
However, changing the format does not seem to be affecting the site so far. See also.
http://www.concrete5.org/community/forums/chat/change-to-european-d...
http://php.net/manual/en/function.date.php...
define('DATE_APP_GENERIC_MDYT_FULL', 'F d, Y \a\t g:i A');
However, changing the format does not seem to be affecting the site so far. See also.
http://www.concrete5.org/community/forums/chat/change-to-european-d...
http://php.net/manual/en/function.date.php...
You can also define date and time in site.php to override defaults by changing the php date/time values in the statements, some of the ones you can change are: