PHP5 DateTimeZones grouped by continent


/ Published in: PHP
Save to your folder(s)

This is the list of [supported timzones](http://php.net/manual/timezones.php) that can be used with the [PHP5 DateTime](http://php.net/manual/class.datetime.php) class, grouped by geographical continent (rather than PHP's America/..., Asia/... etc identifiers).

The array was built using the [DateTimeZone::getLocation()](http://php.net/manual/datetimezone.getlocation.php) method and [this list](http://en.wikipedia.org/wiki/List_of_sovereign_states_and_dependent_territories_by_continent_%28data_file%29) of ISO-3166-1 country codes (correcting for countries that straddle the Europe/Asia border, e.g. Russia).

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.