[Solved] Default Time Zone Not Picking Up |
I am trying to set my default time zone to New Zealand/Wellingtion but does not pick up New Zealand/Wellingtion
Error date_default_timezone_set(): Timezone ID 'New Zealand/Wellington' is invalid What would be correct? date_default_timezone_set('New Zealand/Wellington');
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
Try using 'Pacific/Auckland' as the timezone:
http://php.net/manual/en/timezones.php Or if there is another region which is closer/more accurate, use that. But I couldn't see anything at a glance.
(09-13-2015, 10:31 PM)JayAdra Wrote: Try using 'Pacific/Auckland' as the timezone: Thank you for the link working now.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |