Jump to content

setlocale


homer.favenir

Recommended Posts

I would use the ini_set command to set it to whatever timezone you have. For example, if your timezone is Antarctica/South_Pole then use the following:

ini_set('date.timezone','Antarctica/South_Pole');

A full list of timezones in catagories can be found at http://au.php.net/manual/en/timezones.php

Note: The links within the web address are not timezones. You need to click the links within that web address to get a full list of timezones for that area.

Hope that helps.

Link to comment
https://forums.phpfreaks.com/topic/142075-setlocale/#findComment-744040
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.