Home
/
Website Help
/
PHP Questions
/
How to change the date.timezone value in PHP?

How to change the date.timezone value in PHP?

To set a specific date.timezone value in PHP set the following line in your php.ini file:

date.timezone = "US/Central"

Replace “US/Central” with the preferred timezone and the full list of supported timezones is available here.

Share This Article