Timezone Designations for PHP Software
This post presents timezones as obtained from the List of Supported Timezones reference. These are the timezone designations that PHP recognizes.
The timezone designations are in 11 parts: 6 continental, 4 oceanic, and 1 classified as "other". The "other" is timezone UTC
to specify Universal Time rather than a geographical region.
Click on the link for the part you're interested in and a list of cities will appear. Then click on the closest city in the geographical region for the timezone of interest.
Continental | Oceanic |
---|---|
America |
Click on a continental or oceanic link in the table above to populate this box.
In PHP scripts, the timezone is set this way:
date_default_timezone_set('DESIGNATION');
Replace DESIGNATION
with UTC
or a timezone designation obtained above.
Will Bontrager