DevConf 2015

Listado de zonas horarias admitidas

Tabla de contenidos

Aquí se puede encontrar una lista completa de las zonas horarias admitidas por PHP, las cuales están pensadas para utilizarlas con, p.ej., date_default_timezone_set().

Nota: La última versión de la base de datos de zonas horarias se puede instalar mediante la base de datos » timezonedb de PECL.

Nota: Esta lista está basada en la versión de la base de datos de zonas horarias 2015.4.

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