Knowledge Base Article

How to change the date.timezone value in PHP?

You can set a specific date.timezone value in PHP for your account using the following option which should be added to your local php.ini file:

date.timezone = "US/Central"

This is just an example. The full list of supported time zones is available here. You should simply replace "US/Central" with the desired timezone.

More information on how to change PHP values using the php.ini file is available in this article.



Rating

Please indicate if this article was helpful for you.

rating :  5.0 from 5
views :  639
votes :  4

Valid XHTML 1.0 Strict Valid CSS!