所支持的时区列表
PHP Manual

其他

其他
Brazil/Acre Brazil/DeNoronha Brazil/East Brazil/West
Canada/Atlantic Canada/Central Canada/East-Saskatchewan Canada/Eastern
Canada/Mountain Canada/Newfoundland Canada/Pacific Canada/Saskatchewan
Canada/Yukon CET Chile/Continental Chile/EasterIsland
CST6CDT Cuba EET Egypt
Eire EST EST5EDT Etc/GMT
Etc/GMT+0 Etc/GMT+1 Etc/GMT+10 Etc/GMT+11
Etc/GMT+12 Etc/GMT+2 Etc/GMT+3 Etc/GMT+4
Etc/GMT+5 Etc/GMT+6 Etc/GMT+7 Etc/GMT+8
Etc/GMT+9 Etc/GMT-0 Etc/GMT-1 Etc/GMT-10
Etc/GMT-11 Etc/GMT-12 Etc/GMT-13 Etc/GMT-14
Etc/GMT-2 Etc/GMT-3 Etc/GMT-4 Etc/GMT-5
Etc/GMT-6 Etc/GMT-7 Etc/GMT-8 Etc/GMT-9
Etc/GMT0 Etc/Greenwich Etc/UCT Etc/Universal
Etc/UTC Etc/Zulu Factory GB
GB-Eire GMT GMT+0 GMT-0
GMT0 Greenwich Hongkong HST
Iceland Iran Israel Jamaica
Japan Kwajalein Libya MET
Mexico/BajaNorte Mexico/BajaSur Mexico/General MST
MST7MDT Navajo NZ NZ-CHAT
Poland Portugal PRC PST8PDT
ROC ROK Singapore Turkey
UCT Universal US/Alaska US/Aleutian
US/Arizona US/Central US/East-Indiana US/Eastern
US/Hawaii US/Indiana-Starke US/Michigan US/Mountain
US/Pacific US/Pacific-New US/Samoa UTC
W-SU WET Zulu  
Warning

在此请不要使用任何时区列表(除 UTC 外),仅用于向后兼容。

Warning

If you disregard the above warning, please also note that the IANA timezone database that provides PHP's timezone support uses POSIX style signs, which results in the Etc/GMT+n and Etc/GMT-n time zones being reversed from common usage.

For example, the time zone 8 hours ahead of GMT that is used in China and Western Australia (among other places) is actually Etc/GMT-8 in this database, not Etc/GMT+8 as you would normally expect.

Once again, it is strongly recommended that you use the correct time zone for your location, such as Asia/Shanghai or Australia/Perth for the above examples.


所支持的时区列表
PHP Manual