Dutch PHP Conference 2019

List of Supported Timezones

Table of Contents

Here you'll find the complete list of timezones supported by PHP, which are meant to be used with e.g. date_default_timezone_set().

Caution

The behavior of timezones not listed here is undefined.

Note: The latest version of the timezone database can be installed via PECL's » timezonedb.

Note: This list is based upon the timezone database version 2018.7.

add a note add a note

User Contributed Notes 2 notes

up
0
Mark
3 months ago
Some interesting peculiarities:

- Montreal (Quebec) is missing; use America/Toronto instead.

- Most countries are listed by their capital cities, but some are listed by their country name:
— Jamaica instead of Kingston
— Malta instead of Valletta
— Costa Rica instead of San José
— Puerto Rico instead of San Juan
— Qatar instead of Doha
...or their largest city:
— Guayaquil instead of Quito, Ecuador
— Casablanca instead of Rabat, Morocco
— Karachi instead of Islamabad, Pakistan
— Johannesburg instead of Pretoria / Bloemfontein / Cape Town, South Africa

- Some countries are not listed at all, e.g. British Virgin Islands (Road Town), Malawi (Lilongwe), Sint Maarten (Philipsburg)
To Top