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.5.

add a note add a note

User Contributed Notes 4 notes

up
0
Anonymous
5 days ago
From PECL's timezonedb package.xml:
  The data that this extension uses comes from the "Olson" database, which is
located at http://www.iana.org/time-zones.

The timezone database is also the one used by the Intl extention.
See: http://userguide.icu-project.org/datetime/timezone
up
-132
onomame
1 year ago
Get a list of Timezones.

<?php
foreach(timezone_abbreviations_list() as $abbr => $timezone){
        foreach(
$timezone as $val){
                if(isset(
$val['timezone_id'])){
                       
var_dump($abbr,$val['timezone_id']);
                }
        }
}
?>
up
-180
braindead
1 year ago
Just use DateTimeZone::listIdentifiers()
To Top