Posted - 04/14/2019 : 18:17:32
Here are sample [maroon]includes.php[/maroon] config entries to set your timezone and date format:
[font=Courier New][orange]// GENERAL SETTINGS[/orange] date_default_timezone_set('Australia/Sydney'); $dateformatstr="dS F Y"; [orange]// show date in format for example 25th May 2004 20:17[/orange] $admindateformat=2; [orange]// Set date in admin section to UK style format dd/mm/yyyy[/orange][/font=Courier New]
Refer to PHP docs for a [url="https://www.php.net/manual/en/function.date-default-timezone-set.php"]list of supported Timezones >>[/url]
Gary [img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]
|