雷林鹏分享:PHP 5 时区

时间:2021-10-23 21:55:18

  PHP 支持的时区

  下面是 PHP 支持的时区的完整列表,这些对一些 PHP 日期函数很有用。

  非洲

  美洲

  南极洲

  北冰洋

  亚洲

  大西洋

  大洋洲

  欧洲

  印度洋

  太平洋

  非洲

  Africa/AbidjanAfrica/AccraAfrica/Addis_AbabaAfrica/AlgiersAfrica/Asmara

  Africa/AsmeraAfrica/BamakoAfrica/BanguiAfrica/BanjulAfrica/Bissau

  Africa/BlantyreAfrica/BrazzavilleAfrica/BujumburaAfrica/CairoAfrica/Casablanca

  Africa/CeutaAfrica/ConakryAfrica/DakarAfrica/Dar_es_SalaamAfrica/Djibouti

  Africa/DoualaAfrica/El_AaiunAfrica/FreetownAfrica/GaboroneAfrica/Harare

  Africa/JohannesburgAfrica/JubaAfrica/KampalaAfrica/KhartoumAfrica/Kigali

  Africa/KinshasaAfrica/LagosAfrica/LibrevilleAfrica/LomeAfrica/Luanda

  Africa/LubumbashiAfrica/LusakaAfrica/MalaboAfrica/MaputoAfrica/Maseru

  Africa/MbabaneAfrica/MogadishuAfrica/MonroviaAfrica/NairobiAfrica/Ndjamena

  Africa/NiameyAfrica/NouakchottAfrica/OuagadougouAfrica/Porto-NovoAfrica/Sao_Tome

  Africa/TimbuktuAfrica/TripoliAfrica/TunisAfrica/Windhoek

  美洲

  America/AdakAmerica/AnchorageAmerica/Anguilla

  America/AntiguaAmerica/AraguainaAmerica/Argentina/Buenos_Aires

  America/Argentina/CatamarcaAmerica/Argentina/ComodRivadaviaAmerica/Argentina/Cordoba

  America/Argentina/JujuyAmerica/Argentina/La_RiojaAmerica/Argentina/Mendoza

  America/Argentina/Rio_GallegosAmerica/Argentina/SaltaAmerica/Argentina/San_Juan

  America/Argentina/San_LuisAmerica/Argentina/TucumanAmerica/Argentina/Ushuaia

  America/ArubaAmerica/AsuncionAmerica/Atikokan

  America/AtkaAmerica/BahiaAmerica/Bahia_Banderas

  America/BarbadosAmerica/BelemAmerica/Belize

  America/Blanc-SablonAmerica/Boa_VistaAmerica/Bogota

  America/BoiseAmerica/Buenos_AiresAmerica/Cambridge_Bay

  America/Campo_GrandeAmerica/CancunAmerica/Caracas

  America/CatamarcaAmerica/CayenneAmerica/Cayman

  America/ChicagoAmerica/ChihuahuaAmerica/Coral_Harbour

  America/CordobaAmerica/Costa_RicaAmerica/Creston

  America/CuiabaAmerica/CuracaoAmerica/Danmarkshavn

  America/DawsonAmerica/Dawson_CreekAmerica/Denver

  America/DetroitAmerica/DominicaAmerica/Edmonton

  America/EirunepeAmerica/El_SalvadorAmerica/Ensenada

  America/Fort_WayneAmerica/FortalezaAmerica/Glace_Bay

  America/GodthabAmerica/Goose_BayAmerica/Grand_Turk

  America/GrenadaAmerica/GuadeloupeAmerica/Guatemala

  America/GuayaquilAmerica/GuyanaAmerica/Halifax

  America/HavanaAmerica/HermosilloAmerica/Indiana/Indianapolis

  America/Indiana/KnoxAmerica/Indiana/MarengoAmerica/Indiana/Petersburg

  America/Indiana/Tell_CityAmerica/Indiana/VevayAmerica/Indiana/Vincennes

  America/Indiana/WinamacAmerica/IndianapolisAmerica/Inuvik

  America/IqaluitAmerica/JamaicaAmerica/Jujuy

  America/JuneauAmerica/Kentucky/LouisvilleAmerica/Kentucky/Monticello

  America/Knox_INAmerica/KralendijkAmerica/La_Paz

  America/LimaAmerica/Los_AngelesAmerica/Louisville

  America/Lower_PrincesAmerica/MaceioAmerica/Managua

  America/ManausAmerica/MarigotAmerica/Martinique

  America/MatamorosAmerica/MazatlanAmerica/Mendoza

  America/MenomineeAmerica/MeridaAmerica/Metlakatla

  America/Mexico_CityAmerica/MiquelonAmerica/Moncton

  America/MonterreyAmerica/MontevideoAmerica/Montreal

  America/MontserratAmerica/NassauAmerica/New_York

  America/NipigonAmerica/NomeAmerica/Noronha

  America/North_Dakota/BeulahAmerica/North_Dakota/CenterAmerica/North_Dakota/New_Salem

  America/OjinagaAmerica/PanamaAmerica/Pangnirtung

  America/ParamariboAmerica/PhoenixAmerica/Port-au-Prince

  America/Port_of_SpainAmerica/Porto_AcreAmerica/Porto_Velho

  America/Puerto_RicoAmerica/Rainy_RiverAmerica/Rankin_Inlet

  America/RecifeAmerica/ReginaAmerica/Resolute

  America/Rio_BrancoAmerica/RosarioAmerica/Santa_Isabel

  America/SantaremAmerica/SantiagoAmerica/Santo_Domingo

  America/Sao_PauloAmerica/ScoresbysundAmerica/Shiprock

  America/SitkaAmerica/St_BarthelemyAmerica/St_Johns

  America/St_KittsAmerica/St_LuciaAmerica/St_Thomas

  America/St_VincentAmerica/Swift_CurrentAmerica/Tegucigalpa

  America/ThuleAmerica/Thunder_BayAmerica/Tijuana

  America/TorontoAmerica/TortolaAmerica/Vancouver

  America/VirginAmerica/WhitehorseAmerica/Winnipeg

  America/YakutatAmerica/Yellowknife

  南极洲

  Antarctica/CaseyAntarctica/DavisAntarctica/DumontDUrvilleAntarctica/MacquarieAntarctica/Mawson

  Antarctica/McMurdoAntarctica/PalmerAntarctica/RotheraAntarctica/South_PoleAntarctica/Syowa

  Antarctica/Vostok

  北冰洋

  Arctic/Longyearbyen

  亚洲

  Asia/AdenAsia/AlmatyAsia/AmmanAsia/AnadyrAsia/Aqtau

  Asia/AqtobeAsia/AshgabatAsia/AshkhabadAsia/BaghdadAsia/Bahrain

  Asia/BakuAsia/BangkokAsia/BeirutAsia/BishkekAsia/Brunei

  Asia/CalcuttaAsia/ChoibalsanAsia/ChongqingAsia/ChungkingAsia/Colombo

  Asia/DaccaAsia/DamascusAsia/DhakaAsia/DiliAsia/Dubai

  Asia/DushanbeAsia/GazaAsia/HarbinAsia/HebronAsia/Ho_Chi_Minh

  Asia/Hong_KongAsia/HovdAsia/IrkutskAsia/IstanbulAsia/Jakarta

  Asia/JayapuraAsia/JerusalemAsia/KabulAsia/KamchatkaAsia/Karachi

  Asia/KashgarAsia/KathmanduAsia/KatmanduAsia/KhandygaAsia/Kolkata

  Asia/KrasnoyarskAsia/Kuala_LumpurAsia/KuchingAsia/KuwaitAsia/Macao

  Asia/MacauAsia/MagadanAsia/MakassarAsia/ManilaAsia/Muscat

  Asia/NicosiaAsia/NovokuznetskAsia/NovosibirskAsia/OmskAsia/Oral

  Asia/Phnom_PenhAsia/PontianakAsia/PyongyangAsia/QatarAsia/Qyzylorda

  Asia/RangoonAsia/RiyadhAsia/SaigonAsia/SakhalinAsia/Samarkand

  Asia/SeoulAsia/ShanghaiAsia/SingaporeAsia/TaipeiAsia/Tashkent

  Asia/TbilisiAsia/TehranAsia/Tel_AvivAsia/ThimbuAsia/Thimphu

  Asia/TokyoAsia/Ujung_PandangAsia/UlaanbaatarAsia/Ulan_BatorAsia/Urumqi

  Asia/Ust-NeraAsia/VientianeAsia/VladivostokAsia/YakutskAsia/Yekaterinburg

  Asia/Yerevan

  大西洋

  Atlantic/AzoresAtlantic/BermudaAtlantic/CanaryAtlantic/Cape_VerdeAtlantic/Faeroe

  Atlantic/FaroeAtlantic/Jan_MayenAtlantic/MadeiraAtlantic/ReykjavikAtlantic/South_Georgia

  Atlantic/St_HelenaAtlantic/Stanley

  大洋洲

  Australia/ACTAustralia/AdelaideAustralia/BrisbaneAustralia/Broken_HillAustralia/Canberra

  Australia/CurrieAustralia/DarwinAustralia/EuclaAustralia/HobartAustralia/LHI

  Australia/LindemanAustralia/Lord_HoweAustralia/MelbourneAustralia/NorthAustralia/NSW

  Australia/PerthAustralia/QueenslandAustralia/SouthAustralia/SydneyAustralia/Tasmania

  Australia/VictoriaAustralia/WestAustralia/Yancowinna

  欧洲

  Europe/AmsterdamEurope/AndorraEurope/AthensEurope/BelfastEurope/Belgrade

  Europe/BerlinEurope/BratislavaEurope/BrusselsEurope/BucharestEurope/Budapest

  Europe/BusingenEurope/ChisinauEurope/CopenhagenEurope/DublinEurope/Gibraltar

  Europe/GuernseyEurope/HelsinkiEurope/Isle_of_ManEurope/IstanbulEurope/Jersey

  Europe/KaliningradEurope/KievEurope/LisbonEurope/LjubljanaEurope/London

  Europe/LuxembourgEurope/MadridEurope/MaltaEurope/MariehamnEurope/Minsk

  Europe/MonacoEurope/MoscowEurope/NicosiaEurope/OsloEurope/Paris

  Europe/PodgoricaEurope/PragueEurope/RigaEurope/RomeEurope/Samara

  Europe/San_MarinoEurope/SarajevoEurope/SimferopolEurope/SkopjeEurope/Sofia

  Europe/StockholmEurope/TallinnEurope/TiraneEurope/TiraspolEurope/Uzhgorod

  Europe/VaduzEurope/VaticanEurope/ViennaEurope/VilniusEurope/Volgograd

  Europe/WarsawEurope/ZagrebEurope/ZaporozhyeEurope/Zurich

  印度洋

  Indian/AntananarivoIndian/ChagosIndian/ChristmasIndian/CocosIndian/Comoro

  Indian/KerguelenIndian/MaheIndian/MaldivesIndian/MauritiusIndian/Mayotte

  Indian/Reunion

  太平洋

  Pacific/ApiaPacific/AucklandPacific/ChathamPacific/ChuukPacific/Easter

  Pacific/EfatePacific/EnderburyPacific/FakaofoPacific/FijiPacific/Funafuti

  Pacific/GalapagosPacific/GambierPacific/GuadalcanalPacific/GuamPacific/Honolulu

  Pacific/JohnstonPacific/KiritimatiPacific/KosraePacific/KwajaleinPacific/Majuro

  Pacific/MarquesasPacific/MidwayPacific/NauruPacific/NiuePacific/Norfolk

  Pacific/NoumeaPacific/Pago_PagoPacific/PalauPacific/PitcairnPacific/Pohnpei

  Pacific/PonapePacific/Port_MoresbyPacific/RarotongaPacific/SaipanPacific/Samoa

  Pacific/TahitiPacific/TarawaPacific/TongatapuPacific/TrukPacific/Wake

  Pacific/WallisPacific/Yap

  (编辑:雷林鹏 来源:网络 侵删)