PHP 5.6.0RC3 is available


Table of Contents

在这你可找到 PHP 所支持的所有时区的列表,可用于诸如 date_default_timezone_set() 等函数。

Note: 最新版的时区数据库可从 PECL 的 » timezonedb 进行安装。

Note: 基于时区数据库版本的列表 2014.5.

add a note add a note

User Contributed Notes 3 notes

naz at barge dot ch
6 months ago
it miss a timezone for switzerland  (geneva, zurich, bern  or something)
miquelon at gmail dot com
6 months 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.
2 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