How do I 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.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.