How to change date.timezone
You can modify different php settings for your account, including timezone, using php.ini file.
If you do not have it yet, please refer to the guidelines below on how to add it:
How to edit php.ini file on shared servers
How to edit php.ini on business servers
On our shared servers “America/New_York” timezone is set by default.
To change it, you will need to update the following value in your php.ini file:
date.timezone =
Full list of the time zones can be found here
Once configured, do not forget to save the changes.
If your account is hosted on a shared server, the suPHP configuration directive should be added to your .htaccess file to make these settings global for the entire account. You can find step-by-step instruction here.
If your account is located on a business server, no other changed are to be made.
Here you can find the guidelines on how to get the default timezone used by all date/time functions in a script.
This is it!
Need any help? Contact our Helpdesk
