所支持的时区列表

目录

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

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

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

非洲

Africa/AbidjanAfrica/AccraAfrica/Addis_AbabaAfrica/Algiers
Africa/AsmaraAfrica/BamakoAfrica/BanguiAfrica/Banjul
Africa/BissauAfrica/BlantyreAfrica/BrazzavilleAfrica/Bujumbura
Africa/CairoAfrica/CasablancaAfrica/CeutaAfrica/Conakry
Africa/DakarAfrica/Dar_es_SalaamAfrica/DjiboutiAfrica/Douala
Africa/El_AaiunAfrica/FreetownAfrica/GaboroneAfrica/Harare
Africa/JohannesburgAfrica/JubaAfrica/KampalaAfrica/Khartoum
Africa/KigaliAfrica/KinshasaAfrica/LagosAfrica/Libreville
Africa/LomeAfrica/LuandaAfrica/LubumbashiAfrica/Lusaka
Africa/MalaboAfrica/MaputoAfrica/MaseruAfrica/Mbabane
Africa/MogadishuAfrica/MonroviaAfrica/NairobiAfrica/Ndjamena
Africa/NiameyAfrica/NouakchottAfrica/OuagadougouAfrica/Porto-Novo
Africa/Sao_TomeAfrica/TripoliAfrica/TunisAfrica/Windhoek

美洲

America/AdakAmerica/AnchorageAmerica/AnguillaAmerica/Antigua
America/AraguainaAmerica/Argentina/Buenos_AiresAmerica/Argentina/CatamarcaAmerica/Argentina/Cordoba
America/Argentina/JujuyAmerica/Argentina/La_RiojaAmerica/Argentina/MendozaAmerica/Argentina/Rio_Gallegos
America/Argentina/SaltaAmerica/Argentina/San_JuanAmerica/Argentina/San_LuisAmerica/Argentina/Tucuman
America/Argentina/UshuaiaAmerica/ArubaAmerica/AsuncionAmerica/Atikokan
America/BahiaAmerica/Bahia_BanderasAmerica/BarbadosAmerica/Belem
America/BelizeAmerica/Blanc-SablonAmerica/Boa_VistaAmerica/Bogota
America/BoiseAmerica/Cambridge_BayAmerica/Campo_GrandeAmerica/Cancun
America/CaracasAmerica/CayenneAmerica/CaymanAmerica/Chicago
America/ChihuahuaAmerica/Costa_RicaAmerica/CrestonAmerica/Cuiaba
America/CuracaoAmerica/DanmarkshavnAmerica/DawsonAmerica/Dawson_Creek
America/DenverAmerica/DetroitAmerica/DominicaAmerica/Edmonton
America/EirunepeAmerica/El_SalvadorAmerica/Fort_NelsonAmerica/Fortaleza
America/Glace_BayAmerica/Goose_BayAmerica/Grand_TurkAmerica/Grenada
America/GuadeloupeAmerica/GuatemalaAmerica/GuayaquilAmerica/Guyana
America/HalifaxAmerica/HavanaAmerica/HermosilloAmerica/Indiana/Indianapolis
America/Indiana/KnoxAmerica/Indiana/MarengoAmerica/Indiana/PetersburgAmerica/Indiana/Tell_City
America/Indiana/VevayAmerica/Indiana/VincennesAmerica/Indiana/WinamacAmerica/Inuvik
America/IqaluitAmerica/JamaicaAmerica/JuneauAmerica/Kentucky/Louisville
America/Kentucky/MonticelloAmerica/KralendijkAmerica/La_PazAmerica/Lima
America/Los_AngelesAmerica/Lower_PrincesAmerica/MaceioAmerica/Managua
America/ManausAmerica/MarigotAmerica/MartiniqueAmerica/Matamoros
America/MazatlanAmerica/MenomineeAmerica/MeridaAmerica/Metlakatla
America/Mexico_CityAmerica/MiquelonAmerica/MonctonAmerica/Monterrey
America/MontevideoAmerica/MontserratAmerica/NassauAmerica/New_York
America/NipigonAmerica/NomeAmerica/NoronhaAmerica/North_Dakota/Beulah
America/North_Dakota/CenterAmerica/North_Dakota/New_SalemAmerica/NuukAmerica/Ojinaga
America/PanamaAmerica/PangnirtungAmerica/ParamariboAmerica/Phoenix
America/Port-au-PrinceAmerica/Port_of_SpainAmerica/Porto_VelhoAmerica/Puerto_Rico
America/Punta_ArenasAmerica/Rainy_RiverAmerica/Rankin_InletAmerica/Recife
America/ReginaAmerica/ResoluteAmerica/Rio_BrancoAmerica/Santarem
America/SantiagoAmerica/Santo_DomingoAmerica/Sao_PauloAmerica/Scoresbysund
America/SitkaAmerica/St_BarthelemyAmerica/St_JohnsAmerica/St_Kitts
America/St_LuciaAmerica/St_ThomasAmerica/St_VincentAmerica/Swift_Current
America/TegucigalpaAmerica/ThuleAmerica/Thunder_BayAmerica/Tijuana
America/TorontoAmerica/TortolaAmerica/VancouverAmerica/Whitehorse
America/WinnipegAmerica/YakutatAmerica/Yellowknife 

南极洲

Antarctica/CaseyAntarctica/DavisAntarctica/DumontDUrvilleAntarctica/Macquarie
Antarctica/MawsonAntarctica/McMurdoAntarctica/PalmerAntarctica/Rothera
Antarctica/SyowaAntarctica/TrollAntarctica/Vostok 

北极

Arctic/Longyearbyen

亚洲

Asia/AdenAsia/AlmatyAsia/AmmanAsia/Anadyr
Asia/AqtauAsia/AqtobeAsia/AshgabatAsia/Atyrau
Asia/BaghdadAsia/BahrainAsia/BakuAsia/Bangkok
Asia/BarnaulAsia/BeirutAsia/BishkekAsia/Brunei
Asia/ChitaAsia/ChoibalsanAsia/ColomboAsia/Damascus
Asia/DhakaAsia/DiliAsia/DubaiAsia/Dushanbe
Asia/FamagustaAsia/GazaAsia/HebronAsia/Ho_Chi_Minh
Asia/Hong_KongAsia/HovdAsia/IrkutskAsia/Jakarta
Asia/JayapuraAsia/JerusalemAsia/KabulAsia/Kamchatka
Asia/KarachiAsia/KathmanduAsia/KhandygaAsia/Kolkata
Asia/KrasnoyarskAsia/Kuala_LumpurAsia/KuchingAsia/Kuwait
Asia/MacauAsia/MagadanAsia/MakassarAsia/Manila
Asia/MuscatAsia/NicosiaAsia/NovokuznetskAsia/Novosibirsk
Asia/OmskAsia/OralAsia/Phnom_PenhAsia/Pontianak
Asia/PyongyangAsia/QatarAsia/QostanayAsia/Qyzylorda
Asia/RiyadhAsia/SakhalinAsia/SamarkandAsia/Seoul
Asia/ShanghaiAsia/SingaporeAsia/SrednekolymskAsia/Taipei
Asia/TashkentAsia/TbilisiAsia/TehranAsia/Thimphu
Asia/TokyoAsia/TomskAsia/UlaanbaatarAsia/Urumqi
Asia/Ust-NeraAsia/VientianeAsia/VladivostokAsia/Yakutsk
Asia/YangonAsia/YekaterinburgAsia/Yerevan 

大西洋

Atlantic/AzoresAtlantic/BermudaAtlantic/CanaryAtlantic/Cape_Verde
Atlantic/FaroeAtlantic/MadeiraAtlantic/ReykjavikAtlantic/South_Georgia
Atlantic/St_HelenaAtlantic/Stanley  

澳洲

Australia/AdelaideAustralia/BrisbaneAustralia/Broken_HillAustralia/Currie
Australia/DarwinAustralia/EuclaAustralia/HobartAustralia/Lindeman
Australia/Lord_HoweAustralia/MelbourneAustralia/PerthAustralia/Sydney

欧洲

Europe/AmsterdamEurope/AndorraEurope/AstrakhanEurope/Athens
Europe/BelgradeEurope/BerlinEurope/BratislavaEurope/Brussels
Europe/BucharestEurope/BudapestEurope/BusingenEurope/Chisinau
Europe/CopenhagenEurope/DublinEurope/GibraltarEurope/Guernsey
Europe/HelsinkiEurope/Isle_of_ManEurope/IstanbulEurope/Jersey
Europe/KaliningradEurope/KievEurope/KirovEurope/Lisbon
Europe/LjubljanaEurope/LondonEurope/LuxembourgEurope/Madrid
Europe/MaltaEurope/MariehamnEurope/MinskEurope/Monaco
Europe/MoscowEurope/OsloEurope/ParisEurope/Podgorica
Europe/PragueEurope/RigaEurope/RomeEurope/Samara
Europe/San_MarinoEurope/SarajevoEurope/SaratovEurope/Simferopol
Europe/SkopjeEurope/SofiaEurope/StockholmEurope/Tallinn
Europe/TiraneEurope/UlyanovskEurope/UzhgorodEurope/Vaduz
Europe/VaticanEurope/ViennaEurope/VilniusEurope/Volgograd
Europe/WarsawEurope/ZagrebEurope/ZaporozhyeEurope/Zurich

印度

Indian/AntananarivoIndian/ChagosIndian/ChristmasIndian/Cocos
Indian/ComoroIndian/KerguelenIndian/MaheIndian/Maldives
Indian/MauritiusIndian/MayotteIndian/Reunion 

太平洋地区

Pacific/ApiaPacific/AucklandPacific/BougainvillePacific/Chatham
Pacific/ChuukPacific/EasterPacific/EfatePacific/Enderbury
Pacific/FakaofoPacific/FijiPacific/FunafutiPacific/Galapagos
Pacific/GambierPacific/GuadalcanalPacific/GuamPacific/Honolulu
Pacific/KiritimatiPacific/KosraePacific/KwajaleinPacific/Majuro
Pacific/MarquesasPacific/MidwayPacific/NauruPacific/Niue
Pacific/NorfolkPacific/NoumeaPacific/Pago_PagoPacific/Palau
Pacific/PitcairnPacific/PohnpeiPacific/Port_MoresbyPacific/Rarotonga
Pacific/SaipanPacific/TahitiPacific/TarawaPacific/Tongatapu
Pacific/WakePacific/Wallis  

其他

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.

Africa/AsmeraAfrica/TimbuktuAmerica/Argentina/ComodRivadaviaAmerica/Atka
America/Buenos_AiresAmerica/CatamarcaAmerica/Coral_HarbourAmerica/Cordoba
America/EnsenadaAmerica/Fort_WayneAmerica/GodthabAmerica/Indianapolis
America/JujuyAmerica/Knox_INAmerica/LouisvilleAmerica/Mendoza
America/MontrealAmerica/Porto_AcreAmerica/RosarioAmerica/Santa_Isabel
America/ShiprockAmerica/VirginAntarctica/South_PoleAsia/Ashkhabad
Asia/CalcuttaAsia/ChongqingAsia/ChungkingAsia/Dacca
Asia/HarbinAsia/IstanbulAsia/KashgarAsia/Katmandu
Asia/MacaoAsia/RangoonAsia/SaigonAsia/Tel_Aviv
Asia/ThimbuAsia/Ujung_PandangAsia/Ulan_BatorAtlantic/Faeroe
Atlantic/Jan_MayenAustralia/ACTAustralia/CanberraAustralia/LHI
Australia/NorthAustralia/NSWAustralia/QueenslandAustralia/South
Australia/TasmaniaAustralia/VictoriaAustralia/WestAustralia/Yancowinna
Brazil/AcreBrazil/DeNoronhaBrazil/EastBrazil/West
Canada/AtlanticCanada/CentralCanada/EasternCanada/Mountain
Canada/NewfoundlandCanada/PacificCanada/SaskatchewanCanada/Yukon
CETChile/ContinentalChile/EasterIslandCST6CDT
CubaEETEgyptEire
ESTEST5EDTEtc/GMTEtc/GMT+0
Etc/GMT+1Etc/GMT+10Etc/GMT+11Etc/GMT+12
Etc/GMT+2Etc/GMT+3Etc/GMT+4Etc/GMT+5
Etc/GMT+6Etc/GMT+7Etc/GMT+8Etc/GMT+9
Etc/GMT-0Etc/GMT-1Etc/GMT-10Etc/GMT-11
Etc/GMT-12Etc/GMT-13Etc/GMT-14Etc/GMT-2
Etc/GMT-3Etc/GMT-4Etc/GMT-5Etc/GMT-6
Etc/GMT-7Etc/GMT-8Etc/GMT-9Etc/GMT0
Etc/GreenwichEtc/UCTEtc/UniversalEtc/UTC
Etc/ZuluEurope/BelfastEurope/NicosiaEurope/Tiraspol
FactoryGBGB-EireGMT
GMT+0GMT-0GMT0Greenwich
HongkongHSTIcelandIran
IsraelJamaicaJapanKwajalein
LibyaMETMexico/BajaNorteMexico/BajaSur
Mexico/GeneralMSTMST7MDTNavajo
NZNZ-CHATPacific/JohnstonPacific/Ponape
Pacific/SamoaPacific/TrukPacific/YapPoland
PortugalPRCPST8PDTROC
ROKSingaporeTurkeyUCT
UniversalUS/AlaskaUS/AleutianUS/Arizona
US/CentralUS/East-IndianaUS/EasternUS/Hawaii
US/Indiana-StarkeUS/MichiganUS/MountainUS/Pacific
US/Pacific-NewUS/SamoaUTCW-SU
WETZulu