CakeFest 2017 NYC, the Official CakePHP Conference

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

add a note add a note

User Contributed Notes 1 note

up
0
onomame
13 days 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']);
                }
        }
}
?>
To Top