DevConf 2015

elenco delle Timezone supportate

Indice dei contenuti

Di seguito, un elenco completo delle timezone supportate da PHP, che possono essere utilizzate, per esempio, da date_default_timezone_set().

Nota: L'ultima versione del database delle timezone può essere installato attraverso PECL » timezonedb.

Nota: Questo elenco è basato sulla versione del database di timezone 2014.10.

add a note add a note

User Contributed Notes 4 notes

2 months ago
To get a list programmatically, I use \DateTimeZone::listIdentifiers() (you may encounter its alias timezone_identifiers_list()):
miquelon at gmail dot com
1 year ago
Missing time zone of the islands of St Pierre et Miquelon, south of Newfoundland but associated region of France.

The islands have a time zone that changes daylight time with North America and not Europe. It is EST+2.
naz at barge dot ch
1 year ago
it miss a timezone for switzerland  (geneva, zurich, bern  or something)
3 years ago
Some linux dsitributions (eg: debian) use the disrio-provided zoneinfo database (/usr/share/zoneinfo). This means to get a list of timezones programmatically you can search through that directory (recursively).  This also means that zones used by other software that use this zoneinfo database (eg postgresql) will also be supported by php.
To Top