LaravelConf Taiwan 2020 CFP Started

Liste unterstützter Zeitzonen

Inhaltsverzeichnis

Hier finden Sie die vollständige Liste aller von PHP unterstützen Zeitzonen, wie sie z.b mit date_default_timezone_set() genutzt werden können.

Hinweis: Die jeweils aktuellste Version der Zeitzonendatenbank kann über das » timezonedb-Paket in PECL installiert werden. Für Windows existiert eine vorkompilierte DLL auf der PECL4Win-Seite: php_timezonedb.dll.

Hinweis: Diese Liste basiert auf der Version der Zeitzonen-Datenbank 2020.1.

add a note add a note

User Contributed Notes 3 notes

up
2
Jayshua
1 month ago
Just to clarify what some people may find confusing: These timezones are not commonly used by people in real life. They come from the tz/olson database which includes many, many more timezones than people typically use in normal life. You aren't going to find a timezone like PST or EST because those shorthands encompass several "actual" timezones which just happen to usually have the same UTC offset.

The timezones are also not necessarily tied to specific countries or cities. They are based on geographic areas that have had distinct time offsets from the rest of the world at any point in the past, and are typically named for the most recognizable/most populous city in the region.
up
-27
Marc Moisan
1 year ago
- Some countries are not listed at all, e.g. British Virgin Islands (Road Town), Malawi (Lilongwe), Sint Maarten (Philipsburg)

For British Virgin Islands use America/Tortola.
For Malawi use Africa/Blantyre.
For Sint Maarten use America/Lower_Princes.
up
-37
Mark
1 year 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