PHP时区列表

PHP时区列表

$timezoneTable = array(  

    "-12" => "(GMT -12:00) Eniwetok, Kwajalein",  

    "-11" => "(GMT -11:00) Midway Island, Samoa",  

    "-10" => "(GMT -10:00) Hawaii",  

    "-9" => "(GMT -9:00) Alaska",  

    "-8" => "(GMT -8:00) Pacific Time (US & Canada)",  

    "-7" => "(GMT -7:00) Mountain Time (US & Canada)",  

    "-6" => "(GMT -6:00) Central Time (US & Canada), Mexico City",  

    "-5" => "(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima",  

    "-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",  

    "-3.5" => "(GMT -3:30) Newfoundland",  

    "-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",  

    "-2" => "(GMT -2:00) Mid-Atlantic",  

    "-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",  

    "0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",  

    "1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",  

    "2" => "(GMT +2:00) Kaliningrad, South Africa",  

    "3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",  

    "3.5" => "(GMT +3:30) Tehran",  

    "4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",  

    "4.5" => "(GMT +4:30) Kabul",  

    "5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",  

    "5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",  

    "6" => "(GMT +6:00) Almaty, Dhaka, Colombo",  

    "7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",  

    "8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",  

    "9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",  

    "9.5" => "(GMT +9:30) Adelaide, Darwin",  

    "10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",  

    "11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",  

    "12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"  

);
$timezones = array(  

    '-12'=>'Pacific/Kwajalein',  

    '-11'=>'Pacific/Samoa',  

    '-10'=>'Pacific/Honolulu',  

    '-9'=>'America/Juneau',  

    '-8'=>'America/Los_Angeles',  

    '-7'=>'America/Denver',  

    '-6'=>'America/Mexico_City',  

    '-5'=>'America/New_York',  

    '-4'=>'America/Caracas',  

    '-3.5'=>'America/St_Johns',  

    '-3'=>'America/Argentina/Buenos_Aires',  

    '-2'=>'Atlantic/Azores',// no cities here so just picking an hour ahead  

    '-1'=>'Atlantic/Azores',  

    '0'=>'Europe/London',  

    '1'=>'Europe/Paris',  

    '2'=>'Europe/Helsinki',  

    '3'=>'Europe/Moscow',  

    '3.5'=>'Asia/Tehran',  

    '4'=>'Asia/Baku',  

    '4.5'=>'Asia/Kabul',  

    '5'=>'Asia/Karachi',  

    '5.5'=>'Asia/Calcutta',  

    '6'=>'Asia/Colombo',  

    '7'=>'Asia/Bangkok',  

    '8'=>'Asia/Singapore',  

    '9'=>'Asia/Tokyo',  

    '9.5'=>'Australia/Darwin',  

    '10'=>'Pacific/Guam',  

    '11'=>'Asia/Magadan',  

    '12'=>'Asia/Kamchatka'  

);

其它请参考: 时区名字列表

你可能感兴趣的:(PHP)