generallamp

Modify the default PHP timezone

The default timezone is “America/Los_Angeles” but you can change it in the php.ini file, as shown below:

[Date]
date.timezone = "America/Los_Angeles"

You can see all available timezones at http://php.net/manual/en/timezones.php.

Last modification December 21, 2022