Skip to content

Instantly share code, notes, and snippets.

@pavellauko
Last active December 1, 2024 19:54
Show Gist options
  • Save pavellauko/3082580 to your computer and use it in GitHub Desktop.
Save pavellauko/3082580 to your computer and use it in GitHub Desktop.
Time zones as arrays (PHP)
MIT License
Copyright (c) 2022 Justin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
<?php
$timezones = array(
'America/Adak' => '(GMT-10:00) America/Adak (Hawaii-Aleutian Standard Time)',
'America/Atka' => '(GMT-10:00) America/Atka (Hawaii-Aleutian Standard Time)',
'America/Anchorage' => '(GMT-9:00) America/Anchorage (Alaska Standard Time)',
'America/Juneau' => '(GMT-9:00) America/Juneau (Alaska Standard Time)',
'America/Nome' => '(GMT-9:00) America/Nome (Alaska Standard Time)',
'America/Yakutat' => '(GMT-9:00) America/Yakutat (Alaska Standard Time)',
'America/Dawson' => '(GMT-8:00) America/Dawson (Pacific Standard Time)',
'America/Ensenada' => '(GMT-8:00) America/Ensenada (Pacific Standard Time)',
'America/Los_Angeles' => '(GMT-8:00) America/Los_Angeles (Pacific Standard Time)',
'America/Tijuana' => '(GMT-8:00) America/Tijuana (Pacific Standard Time)',
'America/Vancouver' => '(GMT-8:00) America/Vancouver (Pacific Standard Time)',
'America/Whitehorse' => '(GMT-8:00) America/Whitehorse (Pacific Standard Time)',
'Canada/Pacific' => '(GMT-8:00) Canada/Pacific (Pacific Standard Time)',
'Canada/Yukon' => '(GMT-8:00) Canada/Yukon (Pacific Standard Time)',
'Mexico/BajaNorte' => '(GMT-8:00) Mexico/BajaNorte (Pacific Standard Time)',
'America/Boise' => '(GMT-7:00) America/Boise (Mountain Standard Time)',
'America/Cambridge_Bay' => '(GMT-7:00) America/Cambridge_Bay (Mountain Standard Time)',
'America/Chihuahua' => '(GMT-7:00) America/Chihuahua (Mountain Standard Time)',
'America/Dawson_Creek' => '(GMT-7:00) America/Dawson_Creek (Mountain Standard Time)',
'America/Denver' => '(GMT-7:00) America/Denver (Mountain Standard Time)',
'America/Edmonton' => '(GMT-7:00) America/Edmonton (Mountain Standard Time)',
'America/Hermosillo' => '(GMT-7:00) America/Hermosillo (Mountain Standard Time)',
'America/Inuvik' => '(GMT-7:00) America/Inuvik (Mountain Standard Time)',
'America/Mazatlan' => '(GMT-7:00) America/Mazatlan (Mountain Standard Time)',
'America/Phoenix' => '(GMT-7:00) America/Phoenix (Mountain Standard Time)',
'America/Shiprock' => '(GMT-7:00) America/Shiprock (Mountain Standard Time)',
'America/Yellowknife' => '(GMT-7:00) America/Yellowknife (Mountain Standard Time)',
'Canada/Mountain' => '(GMT-7:00) Canada/Mountain (Mountain Standard Time)',
'Mexico/BajaSur' => '(GMT-7:00) Mexico/BajaSur (Mountain Standard Time)',
'America/Belize' => '(GMT-6:00) America/Belize (Central Standard Time)',
'America/Cancun' => '(GMT-6:00) America/Cancun (Central Standard Time)',
'America/Chicago' => '(GMT-6:00) America/Chicago (Central Standard Time)',
'America/Costa_Rica' => '(GMT-6:00) America/Costa_Rica (Central Standard Time)',
'America/El_Salvador' => '(GMT-6:00) America/El_Salvador (Central Standard Time)',
'America/Guatemala' => '(GMT-6:00) America/Guatemala (Central Standard Time)',
'America/Knox_IN' => '(GMT-6:00) America/Knox_IN (Central Standard Time)',
'America/Managua' => '(GMT-6:00) America/Managua (Central Standard Time)',
'America/Menominee' => '(GMT-6:00) America/Menominee (Central Standard Time)',
'America/Merida' => '(GMT-6:00) America/Merida (Central Standard Time)',
'America/Mexico_City' => '(GMT-6:00) America/Mexico_City (Central Standard Time)',
'America/Monterrey' => '(GMT-6:00) America/Monterrey (Central Standard Time)',
'America/Rainy_River' => '(GMT-6:00) America/Rainy_River (Central Standard Time)',
'America/Rankin_Inlet' => '(GMT-6:00) America/Rankin_Inlet (Central Standard Time)',
'America/Regina' => '(GMT-6:00) America/Regina (Central Standard Time)',
'America/Swift_Current' => '(GMT-6:00) America/Swift_Current (Central Standard Time)',
'America/Tegucigalpa' => '(GMT-6:00) America/Tegucigalpa (Central Standard Time)',
'America/Winnipeg' => '(GMT-6:00) America/Winnipeg (Central Standard Time)',
'Canada/Central' => '(GMT-6:00) Canada/Central (Central Standard Time)',
'Canada/East-Saskatchewan' => '(GMT-6:00) Canada/East-Saskatchewan (Central Standard Time)',
'Canada/Saskatchewan' => '(GMT-6:00) Canada/Saskatchewan (Central Standard Time)',
'Chile/EasterIsland' => '(GMT-6:00) Chile/EasterIsland (Easter Is. Time)',
'Mexico/General' => '(GMT-6:00) Mexico/General (Central Standard Time)',
'America/Atikokan' => '(GMT-5:00) America/Atikokan (Eastern Standard Time)',
'America/Bogota' => '(GMT-5:00) America/Bogota (Colombia Time)',
'America/Cayman' => '(GMT-5:00) America/Cayman (Eastern Standard Time)',
'America/Coral_Harbour' => '(GMT-5:00) America/Coral_Harbour (Eastern Standard Time)',
'America/Detroit' => '(GMT-5:00) America/Detroit (Eastern Standard Time)',
'America/Fort_Wayne' => '(GMT-5:00) America/Fort_Wayne (Eastern Standard Time)',
'America/Grand_Turk' => '(GMT-5:00) America/Grand_Turk (Eastern Standard Time)',
'America/Guayaquil' => '(GMT-5:00) America/Guayaquil (Ecuador Time)',
'America/Havana' => '(GMT-5:00) America/Havana (Cuba Standard Time)',
'America/Indianapolis' => '(GMT-5:00) America/Indianapolis (Eastern Standard Time)',
'America/Iqaluit' => '(GMT-5:00) America/Iqaluit (Eastern Standard Time)',
'America/Jamaica' => '(GMT-5:00) America/Jamaica (Eastern Standard Time)',
'America/Lima' => '(GMT-5:00) America/Lima (Peru Time)',
'America/Louisville' => '(GMT-5:00) America/Louisville (Eastern Standard Time)',
'America/Montreal' => '(GMT-5:00) America/Montreal (Eastern Standard Time)',
'America/Nassau' => '(GMT-5:00) America/Nassau (Eastern Standard Time)',
'America/New_York' => '(GMT-5:00) America/New_York (Eastern Standard Time)',
'America/Nipigon' => '(GMT-5:00) America/Nipigon (Eastern Standard Time)',
'America/Panama' => '(GMT-5:00) America/Panama (Eastern Standard Time)',
'America/Pangnirtung' => '(GMT-5:00) America/Pangnirtung (Eastern Standard Time)',
'America/Port-au-Prince' => '(GMT-5:00) America/Port-au-Prince (Eastern Standard Time)',
'America/Resolute' => '(GMT-5:00) America/Resolute (Eastern Standard Time)',
'America/Thunder_Bay' => '(GMT-5:00) America/Thunder_Bay (Eastern Standard Time)',
'America/Toronto' => '(GMT-5:00) America/Toronto (Eastern Standard Time)',
'Canada/Eastern' => '(GMT-5:00) Canada/Eastern (Eastern Standard Time)',
'America/Caracas' => '(GMT-4:-30) America/Caracas (Venezuela Time)',
'America/Anguilla' => '(GMT-4:00) America/Anguilla (Atlantic Standard Time)',
'America/Antigua' => '(GMT-4:00) America/Antigua (Atlantic Standard Time)',
'America/Aruba' => '(GMT-4:00) America/Aruba (Atlantic Standard Time)',
'America/Asuncion' => '(GMT-4:00) America/Asuncion (Paraguay Time)',
'America/Barbados' => '(GMT-4:00) America/Barbados (Atlantic Standard Time)',
'America/Blanc-Sablon' => '(GMT-4:00) America/Blanc-Sablon (Atlantic Standard Time)',
'America/Boa_Vista' => '(GMT-4:00) America/Boa_Vista (Amazon Time)',
'America/Campo_Grande' => '(GMT-4:00) America/Campo_Grande (Amazon Time)',
'America/Cuiaba' => '(GMT-4:00) America/Cuiaba (Amazon Time)',
'America/Curacao' => '(GMT-4:00) America/Curacao (Atlantic Standard Time)',
'America/Dominica' => '(GMT-4:00) America/Dominica (Atlantic Standard Time)',
'America/Eirunepe' => '(GMT-4:00) America/Eirunepe (Amazon Time)',
'America/Glace_Bay' => '(GMT-4:00) America/Glace_Bay (Atlantic Standard Time)',
'America/Goose_Bay' => '(GMT-4:00) America/Goose_Bay (Atlantic Standard Time)',
'America/Grenada' => '(GMT-4:00) America/Grenada (Atlantic Standard Time)',
'America/Guadeloupe' => '(GMT-4:00) America/Guadeloupe (Atlantic Standard Time)',
'America/Guyana' => '(GMT-4:00) America/Guyana (Guyana Time)',
'America/Halifax' => '(GMT-4:00) America/Halifax (Atlantic Standard Time)',
'America/La_Paz' => '(GMT-4:00) America/La_Paz (Bolivia Time)',
'America/Manaus' => '(GMT-4:00) America/Manaus (Amazon Time)',
'America/Marigot' => '(GMT-4:00) America/Marigot (Atlantic Standard Time)',
'America/Martinique' => '(GMT-4:00) America/Martinique (Atlantic Standard Time)',
'America/Moncton' => '(GMT-4:00) America/Moncton (Atlantic Standard Time)',
'America/Montserrat' => '(GMT-4:00) America/Montserrat (Atlantic Standard Time)',
'America/Port_of_Spain' => '(GMT-4:00) America/Port_of_Spain (Atlantic Standard Time)',
'America/Porto_Acre' => '(GMT-4:00) America/Porto_Acre (Amazon Time)',
'America/Porto_Velho' => '(GMT-4:00) America/Porto_Velho (Amazon Time)',
'America/Puerto_Rico' => '(GMT-4:00) America/Puerto_Rico (Atlantic Standard Time)',
'America/Rio_Branco' => '(GMT-4:00) America/Rio_Branco (Amazon Time)',
'America/Santiago' => '(GMT-4:00) America/Santiago (Chile Time)',
'America/Santo_Domingo' => '(GMT-4:00) America/Santo_Domingo (Atlantic Standard Time)',
'America/St_Barthelemy' => '(GMT-4:00) America/St_Barthelemy (Atlantic Standard Time)',
'America/St_Kitts' => '(GMT-4:00) America/St_Kitts (Atlantic Standard Time)',
'America/St_Lucia' => '(GMT-4:00) America/St_Lucia (Atlantic Standard Time)',
'America/St_Thomas' => '(GMT-4:00) America/St_Thomas (Atlantic Standard Time)',
'America/St_Vincent' => '(GMT-4:00) America/St_Vincent (Atlantic Standard Time)',
'America/Thule' => '(GMT-4:00) America/Thule (Atlantic Standard Time)',
'America/Tortola' => '(GMT-4:00) America/Tortola (Atlantic Standard Time)',
'America/Virgin' => '(GMT-4:00) America/Virgin (Atlantic Standard Time)',
'Antarctica/Palmer' => '(GMT-4:00) Antarctica/Palmer (Chile Time)',
'Atlantic/Bermuda' => '(GMT-4:00) Atlantic/Bermuda (Atlantic Standard Time)',
'Atlantic/Stanley' => '(GMT-4:00) Atlantic/Stanley (Falkland Is. Time)',
'Brazil/Acre' => '(GMT-4:00) Brazil/Acre (Amazon Time)',
'Brazil/West' => '(GMT-4:00) Brazil/West (Amazon Time)',
'Canada/Atlantic' => '(GMT-4:00) Canada/Atlantic (Atlantic Standard Time)',
'Chile/Continental' => '(GMT-4:00) Chile/Continental (Chile Time)',
'America/St_Johns' => '(GMT-3:-30) America/St_Johns (Newfoundland Standard Time)',
'Canada/Newfoundland' => '(GMT-3:-30) Canada/Newfoundland (Newfoundland Standard Time)',
'America/Araguaina' => '(GMT-3:00) America/Araguaina (Brasilia Time)',
'America/Bahia' => '(GMT-3:00) America/Bahia (Brasilia Time)',
'America/Belem' => '(GMT-3:00) America/Belem (Brasilia Time)',
'America/Buenos_Aires' => '(GMT-3:00) America/Buenos_Aires (Argentine Time)',
'America/Catamarca' => '(GMT-3:00) America/Catamarca (Argentine Time)',
'America/Cayenne' => '(GMT-3:00) America/Cayenne (French Guiana Time)',
'America/Cordoba' => '(GMT-3:00) America/Cordoba (Argentine Time)',
'America/Fortaleza' => '(GMT-3:00) America/Fortaleza (Brasilia Time)',
'America/Godthab' => '(GMT-3:00) America/Godthab (Western Greenland Time)',
'America/Jujuy' => '(GMT-3:00) America/Jujuy (Argentine Time)',
'America/Maceio' => '(GMT-3:00) America/Maceio (Brasilia Time)',
'America/Mendoza' => '(GMT-3:00) America/Mendoza (Argentine Time)',
'America/Miquelon' => '(GMT-3:00) America/Miquelon (Pierre & Miquelon Standard Time)',
'America/Montevideo' => '(GMT-3:00) America/Montevideo (Uruguay Time)',
'America/Paramaribo' => '(GMT-3:00) America/Paramaribo (Suriname Time)',
'America/Recife' => '(GMT-3:00) America/Recife (Brasilia Time)',
'America/Rosario' => '(GMT-3:00) America/Rosario (Argentine Time)',
'America/Santarem' => '(GMT-3:00) America/Santarem (Brasilia Time)',
'America/Sao_Paulo' => '(GMT-3:00) America/Sao_Paulo (Brasilia Time)',
'Antarctica/Rothera' => '(GMT-3:00) Antarctica/Rothera (Rothera Time)',
'Brazil/East' => '(GMT-3:00) Brazil/East (Brasilia Time)',
'America/Noronha' => '(GMT-2:00) America/Noronha (Fernando de Noronha Time)',
'Atlantic/South_Georgia' => '(GMT-2:00) Atlantic/South_Georgia (South Georgia Standard Time)',
'Brazil/DeNoronha' => '(GMT-2:00) Brazil/DeNoronha (Fernando de Noronha Time)',
'America/Scoresbysund' => '(GMT-1:00) America/Scoresbysund (Eastern Greenland Time)',
'Atlantic/Azores' => '(GMT-1:00) Atlantic/Azores (Azores Time)',
'Atlantic/Cape_Verde' => '(GMT-1:00) Atlantic/Cape_Verde (Cape Verde Time)',
'Africa/Abidjan' => '(GMT+0:00) Africa/Abidjan (Greenwich Mean Time)',
'Africa/Accra' => '(GMT+0:00) Africa/Accra (Ghana Mean Time)',
'Africa/Bamako' => '(GMT+0:00) Africa/Bamako (Greenwich Mean Time)',
'Africa/Banjul' => '(GMT+0:00) Africa/Banjul (Greenwich Mean Time)',
'Africa/Bissau' => '(GMT+0:00) Africa/Bissau (Greenwich Mean Time)',
'Africa/Casablanca' => '(GMT+0:00) Africa/Casablanca (Western European Time)',
'Africa/Conakry' => '(GMT+0:00) Africa/Conakry (Greenwich Mean Time)',
'Africa/Dakar' => '(GMT+0:00) Africa/Dakar (Greenwich Mean Time)',
'Africa/El_Aaiun' => '(GMT+0:00) Africa/El_Aaiun (Western European Time)',
'Africa/Freetown' => '(GMT+0:00) Africa/Freetown (Greenwich Mean Time)',
'Africa/Lome' => '(GMT+0:00) Africa/Lome (Greenwich Mean Time)',
'Africa/Monrovia' => '(GMT+0:00) Africa/Monrovia (Greenwich Mean Time)',
'Africa/Nouakchott' => '(GMT+0:00) Africa/Nouakchott (Greenwich Mean Time)',
'Africa/Ouagadougou' => '(GMT+0:00) Africa/Ouagadougou (Greenwich Mean Time)',
'Africa/Sao_Tome' => '(GMT+0:00) Africa/Sao_Tome (Greenwich Mean Time)',
'Africa/Timbuktu' => '(GMT+0:00) Africa/Timbuktu (Greenwich Mean Time)',
'America/Danmarkshavn' => '(GMT+0:00) America/Danmarkshavn (Greenwich Mean Time)',
'Atlantic/Canary' => '(GMT+0:00) Atlantic/Canary (Western European Time)',
'Atlantic/Faeroe' => '(GMT+0:00) Atlantic/Faeroe (Western European Time)',
'Atlantic/Faroe' => '(GMT+0:00) Atlantic/Faroe (Western European Time)',
'Atlantic/Madeira' => '(GMT+0:00) Atlantic/Madeira (Western European Time)',
'Atlantic/Reykjavik' => '(GMT+0:00) Atlantic/Reykjavik (Greenwich Mean Time)',
'Atlantic/St_Helena' => '(GMT+0:00) Atlantic/St_Helena (Greenwich Mean Time)',
'Europe/Belfast' => '(GMT+0:00) Europe/Belfast (Greenwich Mean Time)',
'Europe/Dublin' => '(GMT+0:00) Europe/Dublin (Greenwich Mean Time)',
'Europe/Guernsey' => '(GMT+0:00) Europe/Guernsey (Greenwich Mean Time)',
'Europe/Isle_of_Man' => '(GMT+0:00) Europe/Isle_of_Man (Greenwich Mean Time)',
'Europe/Jersey' => '(GMT+0:00) Europe/Jersey (Greenwich Mean Time)',
'Europe/Lisbon' => '(GMT+0:00) Europe/Lisbon (Western European Time)',
'Europe/London' => '(GMT+0:00) Europe/London (Greenwich Mean Time)',
'Africa/Algiers' => '(GMT+1:00) Africa/Algiers (Central European Time)',
'Africa/Bangui' => '(GMT+1:00) Africa/Bangui (Western African Time)',
'Africa/Brazzaville' => '(GMT+1:00) Africa/Brazzaville (Western African Time)',
'Africa/Ceuta' => '(GMT+1:00) Africa/Ceuta (Central European Time)',
'Africa/Douala' => '(GMT+1:00) Africa/Douala (Western African Time)',
'Africa/Kinshasa' => '(GMT+1:00) Africa/Kinshasa (Western African Time)',
'Africa/Lagos' => '(GMT+1:00) Africa/Lagos (Western African Time)',
'Africa/Libreville' => '(GMT+1:00) Africa/Libreville (Western African Time)',
'Africa/Luanda' => '(GMT+1:00) Africa/Luanda (Western African Time)',
'Africa/Malabo' => '(GMT+1:00) Africa/Malabo (Western African Time)',
'Africa/Ndjamena' => '(GMT+1:00) Africa/Ndjamena (Western African Time)',
'Africa/Niamey' => '(GMT+1:00) Africa/Niamey (Western African Time)',
'Africa/Porto-Novo' => '(GMT+1:00) Africa/Porto-Novo (Western African Time)',
'Africa/Tunis' => '(GMT+1:00) Africa/Tunis (Central European Time)',
'Africa/Windhoek' => '(GMT+1:00) Africa/Windhoek (Western African Time)',
'Arctic/Longyearbyen' => '(GMT+1:00) Arctic/Longyearbyen (Central European Time)',
'Atlantic/Jan_Mayen' => '(GMT+1:00) Atlantic/Jan_Mayen (Central European Time)',
'Europe/Amsterdam' => '(GMT+1:00) Europe/Amsterdam (Central European Time)',
'Europe/Andorra' => '(GMT+1:00) Europe/Andorra (Central European Time)',
'Europe/Belgrade' => '(GMT+1:00) Europe/Belgrade (Central European Time)',
'Europe/Berlin' => '(GMT+1:00) Europe/Berlin (Central European Time)',
'Europe/Bratislava' => '(GMT+1:00) Europe/Bratislava (Central European Time)',
'Europe/Brussels' => '(GMT+1:00) Europe/Brussels (Central European Time)',
'Europe/Budapest' => '(GMT+1:00) Europe/Budapest (Central European Time)',
'Europe/Copenhagen' => '(GMT+1:00) Europe/Copenhagen (Central European Time)',
'Europe/Gibraltar' => '(GMT+1:00) Europe/Gibraltar (Central European Time)',
'Europe/Ljubljana' => '(GMT+1:00) Europe/Ljubljana (Central European Time)',
'Europe/Luxembourg' => '(GMT+1:00) Europe/Luxembourg (Central European Time)',
'Europe/Madrid' => '(GMT+1:00) Europe/Madrid (Central European Time)',
'Europe/Malta' => '(GMT+1:00) Europe/Malta (Central European Time)',
'Europe/Monaco' => '(GMT+1:00) Europe/Monaco (Central European Time)',
'Europe/Oslo' => '(GMT+1:00) Europe/Oslo (Central European Time)',
'Europe/Paris' => '(GMT+1:00) Europe/Paris (Central European Time)',
'Europe/Podgorica' => '(GMT+1:00) Europe/Podgorica (Central European Time)',
'Europe/Prague' => '(GMT+1:00) Europe/Prague (Central European Time)',
'Europe/Rome' => '(GMT+1:00) Europe/Rome (Central European Time)',
'Europe/San_Marino' => '(GMT+1:00) Europe/San_Marino (Central European Time)',
'Europe/Sarajevo' => '(GMT+1:00) Europe/Sarajevo (Central European Time)',
'Europe/Skopje' => '(GMT+1:00) Europe/Skopje (Central European Time)',
'Europe/Stockholm' => '(GMT+1:00) Europe/Stockholm (Central European Time)',
'Europe/Tirane' => '(GMT+1:00) Europe/Tirane (Central European Time)',
'Europe/Vaduz' => '(GMT+1:00) Europe/Vaduz (Central European Time)',
'Europe/Vatican' => '(GMT+1:00) Europe/Vatican (Central European Time)',
'Europe/Vienna' => '(GMT+1:00) Europe/Vienna (Central European Time)',
'Europe/Warsaw' => '(GMT+1:00) Europe/Warsaw (Central European Time)',
'Europe/Zagreb' => '(GMT+1:00) Europe/Zagreb (Central European Time)',
'Europe/Zurich' => '(GMT+1:00) Europe/Zurich (Central European Time)',
'Africa/Blantyre' => '(GMT+2:00) Africa/Blantyre (Central African Time)',
'Africa/Bujumbura' => '(GMT+2:00) Africa/Bujumbura (Central African Time)',
'Africa/Cairo' => '(GMT+2:00) Africa/Cairo (Eastern European Time)',
'Africa/Gaborone' => '(GMT+2:00) Africa/Gaborone (Central African Time)',
'Africa/Harare' => '(GMT+2:00) Africa/Harare (Central African Time)',
'Africa/Johannesburg' => '(GMT+2:00) Africa/Johannesburg (South Africa Standard Time)',
'Africa/Kigali' => '(GMT+2:00) Africa/Kigali (Central African Time)',
'Africa/Lubumbashi' => '(GMT+2:00) Africa/Lubumbashi (Central African Time)',
'Africa/Lusaka' => '(GMT+2:00) Africa/Lusaka (Central African Time)',
'Africa/Maputo' => '(GMT+2:00) Africa/Maputo (Central African Time)',
'Africa/Maseru' => '(GMT+2:00) Africa/Maseru (South Africa Standard Time)',
'Africa/Mbabane' => '(GMT+2:00) Africa/Mbabane (South Africa Standard Time)',
'Africa/Tripoli' => '(GMT+2:00) Africa/Tripoli (Eastern European Time)',
'Asia/Amman' => '(GMT+2:00) Asia/Amman (Eastern European Time)',
'Asia/Beirut' => '(GMT+2:00) Asia/Beirut (Eastern European Time)',
'Asia/Damascus' => '(GMT+2:00) Asia/Damascus (Eastern European Time)',
'Asia/Gaza' => '(GMT+2:00) Asia/Gaza (Eastern European Time)',
'Asia/Istanbul' => '(GMT+2:00) Asia/Istanbul (Eastern European Time)',
'Asia/Jerusalem' => '(GMT+2:00) Asia/Jerusalem (Israel Standard Time)',
'Asia/Nicosia' => '(GMT+2:00) Asia/Nicosia (Eastern European Time)',
'Asia/Tel_Aviv' => '(GMT+2:00) Asia/Tel_Aviv (Israel Standard Time)',
'Europe/Athens' => '(GMT+2:00) Europe/Athens (Eastern European Time)',
'Europe/Bucharest' => '(GMT+2:00) Europe/Bucharest (Eastern European Time)',
'Europe/Chisinau' => '(GMT+2:00) Europe/Chisinau (Eastern European Time)',
'Europe/Helsinki' => '(GMT+2:00) Europe/Helsinki (Eastern European Time)',
'Europe/Istanbul' => '(GMT+2:00) Europe/Istanbul (Eastern European Time)',
'Europe/Kaliningrad' => '(GMT+2:00) Europe/Kaliningrad (Eastern European Time)',
'Europe/Kiev' => '(GMT+2:00) Europe/Kiev (Eastern European Time)',
'Europe/Mariehamn' => '(GMT+2:00) Europe/Mariehamn (Eastern European Time)',
'Europe/Minsk' => '(GMT+2:00) Europe/Minsk (Eastern European Time)',
'Europe/Nicosia' => '(GMT+2:00) Europe/Nicosia (Eastern European Time)',
'Europe/Riga' => '(GMT+2:00) Europe/Riga (Eastern European Time)',
'Europe/Simferopol' => '(GMT+2:00) Europe/Simferopol (Eastern European Time)',
'Europe/Sofia' => '(GMT+2:00) Europe/Sofia (Eastern European Time)',
'Europe/Tallinn' => '(GMT+2:00) Europe/Tallinn (Eastern European Time)',
'Europe/Tiraspol' => '(GMT+2:00) Europe/Tiraspol (Eastern European Time)',
'Europe/Uzhgorod' => '(GMT+2:00) Europe/Uzhgorod (Eastern European Time)',
'Europe/Vilnius' => '(GMT+2:00) Europe/Vilnius (Eastern European Time)',
'Europe/Zaporozhye' => '(GMT+2:00) Europe/Zaporozhye (Eastern European Time)',
'Africa/Addis_Ababa' => '(GMT+3:00) Africa/Addis_Ababa (Eastern African Time)',
'Africa/Asmara' => '(GMT+3:00) Africa/Asmara (Eastern African Time)',
'Africa/Asmera' => '(GMT+3:00) Africa/Asmera (Eastern African Time)',
'Africa/Dar_es_Salaam' => '(GMT+3:00) Africa/Dar_es_Salaam (Eastern African Time)',
'Africa/Djibouti' => '(GMT+3:00) Africa/Djibouti (Eastern African Time)',
'Africa/Kampala' => '(GMT+3:00) Africa/Kampala (Eastern African Time)',
'Africa/Khartoum' => '(GMT+3:00) Africa/Khartoum (Eastern African Time)',
'Africa/Mogadishu' => '(GMT+3:00) Africa/Mogadishu (Eastern African Time)',
'Africa/Nairobi' => '(GMT+3:00) Africa/Nairobi (Eastern African Time)',
'Antarctica/Syowa' => '(GMT+3:00) Antarctica/Syowa (Syowa Time)',
'Asia/Aden' => '(GMT+3:00) Asia/Aden (Arabia Standard Time)',
'Asia/Baghdad' => '(GMT+3:00) Asia/Baghdad (Arabia Standard Time)',
'Asia/Bahrain' => '(GMT+3:00) Asia/Bahrain (Arabia Standard Time)',
'Asia/Kuwait' => '(GMT+3:00) Asia/Kuwait (Arabia Standard Time)',
'Asia/Qatar' => '(GMT+3:00) Asia/Qatar (Arabia Standard Time)',
'Europe/Moscow' => '(GMT+3:00) Europe/Moscow (Moscow Standard Time)',
'Europe/Volgograd' => '(GMT+3:00) Europe/Volgograd (Volgograd Time)',
'Indian/Antananarivo' => '(GMT+3:00) Indian/Antananarivo (Eastern African Time)',
'Indian/Comoro' => '(GMT+3:00) Indian/Comoro (Eastern African Time)',
'Indian/Mayotte' => '(GMT+3:00) Indian/Mayotte (Eastern African Time)',
'Asia/Tehran' => '(GMT+3:30) Asia/Tehran (Iran Standard Time)',
'Asia/Baku' => '(GMT+4:00) Asia/Baku (Azerbaijan Time)',
'Asia/Dubai' => '(GMT+4:00) Asia/Dubai (Gulf Standard Time)',
'Asia/Muscat' => '(GMT+4:00) Asia/Muscat (Gulf Standard Time)',
'Asia/Tbilisi' => '(GMT+4:00) Asia/Tbilisi (Georgia Time)',
'Asia/Yerevan' => '(GMT+4:00) Asia/Yerevan (Armenia Time)',
'Europe/Samara' => '(GMT+4:00) Europe/Samara (Samara Time)',
'Indian/Mahe' => '(GMT+4:00) Indian/Mahe (Seychelles Time)',
'Indian/Mauritius' => '(GMT+4:00) Indian/Mauritius (Mauritius Time)',
'Indian/Reunion' => '(GMT+4:00) Indian/Reunion (Reunion Time)',
'Asia/Kabul' => '(GMT+4:30) Asia/Kabul (Afghanistan Time)',
'Asia/Aqtau' => '(GMT+5:00) Asia/Aqtau (Aqtau Time)',
'Asia/Aqtobe' => '(GMT+5:00) Asia/Aqtobe (Aqtobe Time)',
'Asia/Ashgabat' => '(GMT+5:00) Asia/Ashgabat (Turkmenistan Time)',
'Asia/Ashkhabad' => '(GMT+5:00) Asia/Ashkhabad (Turkmenistan Time)',
'Asia/Dushanbe' => '(GMT+5:00) Asia/Dushanbe (Tajikistan Time)',
'Asia/Karachi' => '(GMT+5:00) Asia/Karachi (Pakistan Time)',
'Asia/Oral' => '(GMT+5:00) Asia/Oral (Oral Time)',
'Asia/Samarkand' => '(GMT+5:00) Asia/Samarkand (Uzbekistan Time)',
'Asia/Tashkent' => '(GMT+5:00) Asia/Tashkent (Uzbekistan Time)',
'Asia/Yekaterinburg' => '(GMT+5:00) Asia/Yekaterinburg (Yekaterinburg Time)',
'Indian/Kerguelen' => '(GMT+5:00) Indian/Kerguelen (French Southern & Antarctic Lands Time)',
'Indian/Maldives' => '(GMT+5:00) Indian/Maldives (Maldives Time)',
'Asia/Calcutta' => '(GMT+5:30) Asia/Calcutta (India Standard Time)',
'Asia/Colombo' => '(GMT+5:30) Asia/Colombo (India Standard Time)',
'Asia/Kolkata' => '(GMT+5:30) Asia/Kolkata (India Standard Time)',
'Asia/Katmandu' => '(GMT+5:45) Asia/Katmandu (Nepal Time)',
'Antarctica/Mawson' => '(GMT+6:00) Antarctica/Mawson (Mawson Time)',
'Antarctica/Vostok' => '(GMT+6:00) Antarctica/Vostok (Vostok Time)',
'Asia/Almaty' => '(GMT+6:00) Asia/Almaty (Alma-Ata Time)',
'Asia/Bishkek' => '(GMT+6:00) Asia/Bishkek (Kirgizstan Time)',
'Asia/Dacca' => '(GMT+6:00) Asia/Dacca (Bangladesh Time)',
'Asia/Dhaka' => '(GMT+6:00) Asia/Dhaka (Bangladesh Time)',
'Asia/Novosibirsk' => '(GMT+6:00) Asia/Novosibirsk (Novosibirsk Time)',
'Asia/Omsk' => '(GMT+6:00) Asia/Omsk (Omsk Time)',
'Asia/Qyzylorda' => '(GMT+6:00) Asia/Qyzylorda (Qyzylorda Time)',
'Asia/Thimbu' => '(GMT+6:00) Asia/Thimbu (Bhutan Time)',
'Asia/Thimphu' => '(GMT+6:00) Asia/Thimphu (Bhutan Time)',
'Indian/Chagos' => '(GMT+6:00) Indian/Chagos (Indian Ocean Territory Time)',
'Asia/Rangoon' => '(GMT+6:30) Asia/Rangoon (Myanmar Time)',
'Indian/Cocos' => '(GMT+6:30) Indian/Cocos (Cocos Islands Time)',
'Antarctica/Davis' => '(GMT+7:00) Antarctica/Davis (Davis Time)',
'Asia/Bangkok' => '(GMT+7:00) Asia/Bangkok (Indochina Time)',
'Asia/Ho_Chi_Minh' => '(GMT+7:00) Asia/Ho_Chi_Minh (Indochina Time)',
'Asia/Hovd' => '(GMT+7:00) Asia/Hovd (Hovd Time)',
'Asia/Jakarta' => '(GMT+7:00) Asia/Jakarta (West Indonesia Time)',
'Asia/Krasnoyarsk' => '(GMT+7:00) Asia/Krasnoyarsk (Krasnoyarsk Time)',
'Asia/Phnom_Penh' => '(GMT+7:00) Asia/Phnom_Penh (Indochina Time)',
'Asia/Pontianak' => '(GMT+7:00) Asia/Pontianak (West Indonesia Time)',
'Asia/Saigon' => '(GMT+7:00) Asia/Saigon (Indochina Time)',
'Asia/Vientiane' => '(GMT+7:00) Asia/Vientiane (Indochina Time)',
'Indian/Christmas' => '(GMT+7:00) Indian/Christmas (Christmas Island Time)',
'Antarctica/Casey' => '(GMT+8:00) Antarctica/Casey (Western Standard Time (Australia))',
'Asia/Brunei' => '(GMT+8:00) Asia/Brunei (Brunei Time)',
'Asia/Choibalsan' => '(GMT+8:00) Asia/Choibalsan (Choibalsan Time)',
'Asia/Chongqing' => '(GMT+8:00) Asia/Chongqing (China Standard Time)',
'Asia/Chungking' => '(GMT+8:00) Asia/Chungking (China Standard Time)',
'Asia/Harbin' => '(GMT+8:00) Asia/Harbin (China Standard Time)',
'Asia/Hong_Kong' => '(GMT+8:00) Asia/Hong_Kong (Hong Kong Time)',
'Asia/Irkutsk' => '(GMT+8:00) Asia/Irkutsk (Irkutsk Time)',
'Asia/Kashgar' => '(GMT+8:00) Asia/Kashgar (China Standard Time)',
'Asia/Kuala_Lumpur' => '(GMT+8:00) Asia/Kuala_Lumpur (Malaysia Time)',
'Asia/Kuching' => '(GMT+8:00) Asia/Kuching (Malaysia Time)',
'Asia/Macao' => '(GMT+8:00) Asia/Macao (China Standard Time)',
'Asia/Macau' => '(GMT+8:00) Asia/Macau (China Standard Time)',
'Asia/Makassar' => '(GMT+8:00) Asia/Makassar (Central Indonesia Time)',
'Asia/Manila' => '(GMT+8:00) Asia/Manila (Philippines Time)',
'Asia/Shanghai' => '(GMT+8:00) Asia/Shanghai (China Standard Time)',
'Asia/Singapore' => '(GMT+8:00) Asia/Singapore (Singapore Time)',
'Asia/Taipei' => '(GMT+8:00) Asia/Taipei (China Standard Time)',
'Asia/Ujung_Pandang' => '(GMT+8:00) Asia/Ujung_Pandang (Central Indonesia Time)',
'Asia/Ulaanbaatar' => '(GMT+8:00) Asia/Ulaanbaatar (Ulaanbaatar Time)',
'Asia/Ulan_Bator' => '(GMT+8:00) Asia/Ulan_Bator (Ulaanbaatar Time)',
'Asia/Urumqi' => '(GMT+8:00) Asia/Urumqi (China Standard Time)',
'Australia/Perth' => '(GMT+8:00) Australia/Perth (Western Standard Time (Australia))',
'Australia/West' => '(GMT+8:00) Australia/West (Western Standard Time (Australia))',
'Australia/Eucla' => '(GMT+8:45) Australia/Eucla (Central Western Standard Time (Australia))',
'Asia/Dili' => '(GMT+9:00) Asia/Dili (Timor-Leste Time)',
'Asia/Jayapura' => '(GMT+9:00) Asia/Jayapura (East Indonesia Time)',
'Asia/Pyongyang' => '(GMT+9:00) Asia/Pyongyang (Korea Standard Time)',
'Asia/Seoul' => '(GMT+9:00) Asia/Seoul (Korea Standard Time)',
'Asia/Tokyo' => '(GMT+9:00) Asia/Tokyo (Japan Standard Time)',
'Asia/Yakutsk' => '(GMT+9:00) Asia/Yakutsk (Yakutsk Time)',
'Australia/Adelaide' => '(GMT+9:30) Australia/Adelaide (Central Standard Time (South Australia))',
'Australia/Broken_Hill' => '(GMT+9:30) Australia/Broken_Hill (Central Standard Time (South Australia/New South Wales))',
'Australia/Darwin' => '(GMT+9:30) Australia/Darwin (Central Standard Time (Northern Territory))',
'Australia/North' => '(GMT+9:30) Australia/North (Central Standard Time (Northern Territory))',
'Australia/South' => '(GMT+9:30) Australia/South (Central Standard Time (South Australia))',
'Australia/Yancowinna' => '(GMT+9:30) Australia/Yancowinna (Central Standard Time (South Australia/New South Wales))',
'Antarctica/DumontDUrville' => '(GMT+10:00) Antarctica/DumontDUrville (Dumont-d\'Urville Time)',
'Asia/Sakhalin' => '(GMT+10:00) Asia/Sakhalin (Sakhalin Time)',
'Asia/Vladivostok' => '(GMT+10:00) Asia/Vladivostok (Vladivostok Time)',
'Australia/ACT' => '(GMT+10:00) Australia/ACT (Eastern Standard Time (New South Wales))',
'Australia/Brisbane' => '(GMT+10:00) Australia/Brisbane (Eastern Standard Time (Queensland))',
'Australia/Canberra' => '(GMT+10:00) Australia/Canberra (Eastern Standard Time (New South Wales))',
'Australia/Currie' => '(GMT+10:00) Australia/Currie (Eastern Standard Time (New South Wales))',
'Australia/Hobart' => '(GMT+10:00) Australia/Hobart (Eastern Standard Time (Tasmania))',
'Australia/Lindeman' => '(GMT+10:00) Australia/Lindeman (Eastern Standard Time (Queensland))',
'Australia/Melbourne' => '(GMT+10:00) Australia/Melbourne (Eastern Standard Time (Victoria))',
'Australia/NSW' => '(GMT+10:00) Australia/NSW (Eastern Standard Time (New South Wales))',
'Australia/Queensland' => '(GMT+10:00) Australia/Queensland (Eastern Standard Time (Queensland))',
'Australia/Sydney' => '(GMT+10:00) Australia/Sydney (Eastern Standard Time (New South Wales))',
'Australia/Tasmania' => '(GMT+10:00) Australia/Tasmania (Eastern Standard Time (Tasmania))',
'Australia/Victoria' => '(GMT+10:00) Australia/Victoria (Eastern Standard Time (Victoria))',
'Australia/LHI' => '(GMT+10:30) Australia/LHI (Lord Howe Standard Time)',
'Australia/Lord_Howe' => '(GMT+10:30) Australia/Lord_Howe (Lord Howe Standard Time)',
'Asia/Magadan' => '(GMT+11:00) Asia/Magadan (Magadan Time)',
'Antarctica/McMurdo' => '(GMT+12:00) Antarctica/McMurdo (New Zealand Standard Time)',
'Antarctica/South_Pole' => '(GMT+12:00) Antarctica/South_Pole (New Zealand Standard Time)',
'Asia/Anadyr' => '(GMT+12:00) Asia/Anadyr (Anadyr Time)',
'Asia/Kamchatka' => '(GMT+12:00) Asia/Kamchatka (Petropavlovsk-Kamchatski Time)'
);
<?php
// Shorter Version array helpful for For the Wordpress plugins etc
// From a comment from waqaschughtai (in comments). Thank you!
$timezone = array(
'Pacific/Midway' => '(GMT-11:00) Midway Island, Samoa',
'America/Adak' => '(GMT-10:00) Hawaii-Aleutian',
'Etc/GMT+10' => '(GMT-10:00) Hawaii',
'Pacific/Marquesas' => '(GMT-09:30) Marquesas Islands',
'Pacific/Gambier' => '(GMT-09:00) Gambier Islands',
'America/Anchorage' => '(GMT-09:00) Alaska',
'America/Ensenada' => '(GMT-08:00) Tijuana, Baja California',
'Etc/GMT+8' => '(GMT-08:00) Pitcairn Islands',
'America/Los_Angeles' => '(GMT-08:00) Pacific Time (US & Canada)',
'America/Denver' => '(GMT-07:00) Mountain Time (US & Canada)',
'America/Chihuahua' => '(GMT-07:00) Chihuahua, La Paz, Mazatlan',
'America/Dawson_Creek' => '(GMT-07:00) Arizona',
'America/Belize' => '(GMT-06:00) Saskatchewan, Central America',
'America/Cancun' => '(GMT-06:00) Guadalajara, Mexico City, Monterrey',
'Chile/EasterIsland' => '(GMT-06:00) Easter Island',
'America/Chicago' => '(GMT-06:00) Central Time (US & Canada)',
'America/New_York' => '(GMT-05:00) Eastern Time (US & Canada)',
'America/Havana' => '(GMT-05:00) Cuba',
'America/Bogota' => '(GMT-05:00) Bogota, Lima, Quito, Rio Branco',
'America/Caracas' => '(GMT-04:30) Caracas',
'America/Santiago' => '(GMT-04:00) Santiago',
'America/La_Paz' => '(GMT-04:00) La Paz',
'Atlantic/Stanley' => '(GMT-04:00) Faukland Islands',
'America/Campo_Grande' => '(GMT-04:00) Brazil',
'America/Goose_Bay' => '(GMT-04:00) Atlantic Time (Goose Bay)',
'America/Glace_Bay' => '(GMT-04:00) Atlantic Time (Canada)',
'America/St_Johns' => '(GMT-03:30) Newfoundland',
'America/Araguaina' => '(GMT-03:00) UTC-3',
'America/Montevideo' => '(GMT-03:00) Montevideo',
'America/Miquelon' => '(GMT-03:00) Miquelon, St. Pierre',
'America/Godthab' => '(GMT-03:00) Greenland',
'America/Argentina/Buenos_Aires' => '(GMT-03:00) Buenos Aires',
'America/Sao_Paulo' => '(GMT-03:00) Brasilia',
'America/Noronha' => '(GMT-02:00) Mid-Atlantic',
'Atlantic/Cape_Verde' => '(GMT-01:00) Cape Verde Is.',
'Atlantic/Azores' => '(GMT-01:00) Azores',
'Europe/Belfast' => '(GMT) Greenwich Mean Time : Belfast',
'Europe/Dublin' => '(GMT) Greenwich Mean Time : Dublin',
'Europe/Lisbon' => '(GMT) Greenwich Mean Time : Lisbon',
'Europe/London' => '(GMT) Greenwich Mean Time : London',
'Africa/Abidjan' => '(GMT) Monrovia, Reykjavik',
'Europe/Amsterdam' => '(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna',
'Europe/Belgrade' => '(GMT+01:00)Belgrade, Bratislava, Budapest, Ljubljana, Prague',
'Europe/Brussels' => '(GMT+01:00) Brussels, Copenhagen, Madrid, Paris',
'Africa/Algiers' => '(GMT+01:00) West Central Africa',
'Africa/Windhoek' => '(GMT+01:00) Windhoek',
'Asia/Beirut' => '(GMT+02:00) Beirut',
'Africa/Cairo' => '(GMT+02:00) Cairo',
'Asia/Gaza' => '(GMT+02:00) Gaza',
'Africa/Blantyre' => '(GMT+02:00) Harare, Pretoria',
'Asia/Jerusalem' => '(GMT+02:00) Jerusalem',
'Europe/Helsinki' => '(GMT+02:00) Helsinki',
'Europe/Minsk' => '(GMT+02:00) Minsk',
'Asia/Damascus' => '(GMT+02:00) Syria',
'Europe/Moscow' => '(GMT+03:00) Moscow, St. Petersburg, Volgograd',
'Africa/Addis_Ababa' => '(GMT+03:00) Nairobi',
'Asia/Tehran' => '(GMT+03:30) Tehran',
'Asia/Dubai' => '(GMT+04:00) Abu Dhabi, Muscat',
'Asia/Yerevan' => '(GMT+04:00) Yerevan',
'Asia/Kabul' => '(GMT+04:30) Kabul',
'Asia/Yekaterinburg' => '(GMT+05:00) Ekaterinburg',
'Asia/Tashkent' => '(GMT+05:00) Tashkent',
'Asia/Kolkata' => '(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi',
'Asia/Katmandu' => '(GMT+05:45) Kathmandu',
'Asia/Dhaka' => '(GMT+06:00) Astana, Dhaka',
'Asia/Novosibirsk' => '(GMT+06:00) Novosibirsk',
'Asia/Rangoon' => '(GMT+06:30) Yangon (Rangoon)',
'Asia/Bangkok' => '(GMT+07:00) Bangkok, Hanoi, Jakarta',
'Asia/Krasnoyarsk' => '(GMT+07:00) Krasnoyarsk',
'Asia/Hong_Kong' => '(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi',
'Asia/Irkutsk' => '(GMT+08:00) Irkutsk, Ulaan Bataar',
'Australia/Perth' => '(GMT+08:00) Perth',
'Australia/Eucla' => '(GMT+08:45) Eucla',
'Asia/Tokyo' => '(GMT+09:00) Osaka, Sapporo, Tokyo',
'Asia/Seoul' => '(GMT+09:00) Seoul',
'Asia/Yakutsk' => '(GMT+09:00) Yakutsk',
'Australia/Adelaide' => '(GMT+09:30) Adelaide',
'Australia/Darwin' => '(GMT+09:30) Darwin',
'Australia/Brisbane' => '(GMT+10:00) Brisbane',
'Australia/Hobart' => '(GMT+10:00) Hobart',
'Asia/Vladivostok' => '(GMT+10:00) Vladivostok',
'Australia/Lord_Howe' => '(GMT+10:30) Lord Howe Island',
'Etc/GMT-11' => '(GMT+11:00) Solomon Is., New Caledonia',
'Asia/Magadan' => '(GMT+11:00) Magadan',
'Pacific/Norfolk' => '(GMT+11:30) Norfolk Island',
'Asia/Anadyr' => '(GMT+12:00) Anadyr, Kamchatka',
'Pacific/Auckland' => '(GMT+12:00) Auckland, Wellington',
'Etc/GMT-12' => '(GMT+12:00) Fiji, Kamchatka, Marshall Is.',
'Pacific/Chatham' => '(GMT+12:45) Chatham Islands',
'Pacific/Tongatapu' => '(GMT+13:00) Nuku\'alofa',
'Pacific/Kiritimati' => '(GMT+14:00) Kiritimati',
);
<?php
// for HTML select element
$timezones = array(
'America' => array(
'America/Adak' => 'Adak -10:00',
'America/Atka' => 'Atka -10:00',
'America/Anchorage' => 'Anchorage -9:00',
'America/Juneau' => 'Juneau -9:00',
'America/Nome' => 'Nome -9:00',
'America/Yakutat' => 'Yakutat -9:00',
'America/Dawson' => 'Dawson -8:00',
'America/Ensenada' => 'Ensenada -8:00',
'America/Los_Angeles' => 'Los_Angeles -8:00',
'America/Tijuana' => 'Tijuana -8:00',
'America/Vancouver' => 'Vancouver -8:00',
'America/Whitehorse' => 'Whitehorse -8:00',
'America/Boise' => 'Boise -7:00',
'America/Cambridge_Bay' => 'Cambridge_Bay -7:00',
'America/Chihuahua' => 'Chihuahua -7:00',
'America/Dawson_Creek' => 'Dawson_Creek -7:00',
'America/Denver' => 'Denver -7:00',
'America/Edmonton' => 'Edmonton -7:00',
'America/Hermosillo' => 'Hermosillo -7:00',
'America/Inuvik' => 'Inuvik -7:00',
'America/Mazatlan' => 'Mazatlan -7:00',
'America/Phoenix' => 'Phoenix -7:00',
'America/Shiprock' => 'Shiprock -7:00',
'America/Yellowknife' => 'Yellowknife -7:00',
'America/Belize' => 'Belize -6:00',
'America/Cancun' => 'Cancun -6:00',
'America/Chicago' => 'Chicago -6:00',
'America/Costa_Rica' => 'Costa_Rica -6:00',
'America/El_Salvador' => 'El_Salvador -6:00',
'America/Guatemala' => 'Guatemala -6:00',
'America/Knox_IN' => 'Knox_IN -6:00',
'America/Managua' => 'Managua -6:00',
'America/Menominee' => 'Menominee -6:00',
'America/Merida' => 'Merida -6:00',
'America/Mexico_City' => 'Mexico_City -6:00',
'America/Monterrey' => 'Monterrey -6:00',
'America/Rainy_River' => 'Rainy_River -6:00',
'America/Rankin_Inlet' => 'Rankin_Inlet -6:00',
'America/Regina' => 'Regina -6:00',
'America/Swift_Current' => 'Swift_Current -6:00',
'America/Tegucigalpa' => 'Tegucigalpa -6:00',
'America/Winnipeg' => 'Winnipeg -6:00',
'America/Atikokan' => 'Atikokan -5:00',
'America/Bogota' => 'Bogota -5:00',
'America/Cayman' => 'Cayman -5:00',
'America/Coral_Harbour' => 'Coral_Harbour -5:00',
'America/Detroit' => 'Detroit -5:00',
'America/Fort_Wayne' => 'Fort_Wayne -5:00',
'America/Grand_Turk' => 'Grand_Turk -5:00',
'America/Guayaquil' => 'Guayaquil -5:00',
'America/Havana' => 'Havana -5:00',
'America/Indianapolis' => 'Indianapolis -5:00',
'America/Iqaluit' => 'Iqaluit -5:00',
'America/Jamaica' => 'Jamaica -5:00',
'America/Lima' => 'Lima -5:00',
'America/Louisville' => 'Louisville -5:00',
'America/Montreal' => 'Montreal -5:00',
'America/Nassau' => 'Nassau -5:00',
'America/New_York' => 'New_York -5:00',
'America/Nipigon' => 'Nipigon -5:00',
'America/Panama' => 'Panama -5:00',
'America/Pangnirtung' => 'Pangnirtung -5:00',
'America/Port-au-Prince' => 'Port-au-Prince -5:00',
'America/Resolute' => 'Resolute -5:00',
'America/Thunder_Bay' => 'Thunder_Bay -5:00',
'America/Toronto' => 'Toronto -5:00',
'America/Caracas' => 'Caracas -4:-30',
'America/Anguilla' => 'Anguilla -4:00',
'America/Antigua' => 'Antigua -4:00',
'America/Aruba' => 'Aruba -4:00',
'America/Asuncion' => 'Asuncion -4:00',
'America/Barbados' => 'Barbados -4:00',
'America/Blanc-Sablon' => 'Blanc-Sablon -4:00',
'America/Boa_Vista' => 'Boa_Vista -4:00',
'America/Campo_Grande' => 'Campo_Grande -4:00',
'America/Cuiaba' => 'Cuiaba -4:00',
'America/Curacao' => 'Curacao -4:00',
'America/Dominica' => 'Dominica -4:00',
'America/Eirunepe' => 'Eirunepe -4:00',
'America/Glace_Bay' => 'Glace_Bay -4:00',
'America/Goose_Bay' => 'Goose_Bay -4:00',
'America/Grenada' => 'Grenada -4:00',
'America/Guadeloupe' => 'Guadeloupe -4:00',
'America/Guyana' => 'Guyana -4:00',
'America/Halifax' => 'Halifax -4:00',
'America/La_Paz' => 'La_Paz -4:00',
'America/Manaus' => 'Manaus -4:00',
'America/Marigot' => 'Marigot -4:00',
'America/Martinique' => 'Martinique -4:00',
'America/Moncton' => 'Moncton -4:00',
'America/Montserrat' => 'Montserrat -4:00',
'America/Port_of_Spain' => 'Port_of_Spain -4:00',
'America/Porto_Acre' => 'Porto_Acre -4:00',
'America/Porto_Velho' => 'Porto_Velho -4:00',
'America/Puerto_Rico' => 'Puerto_Rico -4:00',
'America/Rio_Branco' => 'Rio_Branco -4:00',
'America/Santiago' => 'Santiago -4:00',
'America/Santo_Domingo' => 'Santo_Domingo -4:00',
'America/St_Barthelemy' => 'St_Barthelemy -4:00',
'America/St_Kitts' => 'St_Kitts -4:00',
'America/St_Lucia' => 'St_Lucia -4:00',
'America/St_Thomas' => 'St_Thomas -4:00',
'America/St_Vincent' => 'St_Vincent -4:00',
'America/Thule' => 'Thule -4:00',
'America/Tortola' => 'Tortola -4:00',
'America/Virgin' => 'Virgin -4:00',
'America/St_Johns' => 'St_Johns -3:-30',
'America/Araguaina' => 'Araguaina -3:00',
'America/Bahia' => 'Bahia -3:00',
'America/Belem' => 'Belem -3:00',
'America/Buenos_Aires' => 'Buenos_Aires -3:00',
'America/Catamarca' => 'Catamarca -3:00',
'America/Cayenne' => 'Cayenne -3:00',
'America/Cordoba' => 'Cordoba -3:00',
'America/Fortaleza' => 'Fortaleza -3:00',
'America/Godthab' => 'Godthab -3:00',
'America/Jujuy' => 'Jujuy -3:00',
'America/Maceio' => 'Maceio -3:00',
'America/Mendoza' => 'Mendoza -3:00',
'America/Miquelon' => 'Miquelon -3:00',
'America/Montevideo' => 'Montevideo -3:00',
'America/Paramaribo' => 'Paramaribo -3:00',
'America/Recife' => 'Recife -3:00',
'America/Rosario' => 'Rosario -3:00',
'America/Santarem' => 'Santarem -3:00',
'America/Sao_Paulo' => 'Sao_Paulo -3:00',
'America/Noronha' => 'Noronha -2:00',
'America/Scoresbysund' => 'Scoresbysund -1:00',
'America/Danmarkshavn' => 'Danmarkshavn +0:00',
),
'Canada' => array(
'Canada/Pacific' => 'Pacific -8:00',
'Canada/Yukon' => 'Yukon -8:00',
'Canada/Mountain' => 'Mountain -7:00',
'Canada/Central' => 'Central -6:00',
'Canada/East-Saskatchewan' => 'East-Saskatchewan -6:00',
'Canada/Saskatchewan' => 'Saskatchewan -6:00',
'Canada/Eastern' => 'Eastern -5:00',
'Canada/Atlantic' => 'Atlantic -4:00',
'Canada/Newfoundland' => 'Newfoundland -3:-30',
),
'Mexico' => array(
'Mexico/BajaNorte' => 'BajaNorte -8:00',
'Mexico/BajaSur' => 'BajaSur -7:00',
'Mexico/General' => 'General -6:00',
),
'Chile' => array(
'Chile/EasterIsland' => 'EasterIsland -6:00',
'Chile/Continental' => 'Continental -4:00',
),
'Antarctica' => array(
'Antarctica/Palmer' => 'Palmer -4:00',
'Antarctica/Rothera' => 'Rothera -3:00',
'Antarctica/Syowa' => 'Syowa +3:00',
'Antarctica/Mawson' => 'Mawson +6:00',
'Antarctica/Vostok' => 'Vostok +6:00',
'Antarctica/Davis' => 'Davis +7:00',
'Antarctica/Casey' => 'Casey +8:00',
'Antarctica/DumontDUrville' => 'DumontDUrville +10:00',
'Antarctica/McMurdo' => 'McMurdo +12:00',
'Antarctica/South_Pole' => 'South_Pole +12:00',
),
'Atlantic' => array(
'Atlantic/Bermuda' => 'Bermuda -4:00',
'Atlantic/Stanley' => 'Stanley -4:00',
'Atlantic/South_Georgia' => 'South_Georgia -2:00',
'Atlantic/Azores' => 'Azores -1:00',
'Atlantic/Cape_Verde' => 'Cape_Verde -1:00',
'Atlantic/Canary' => 'Canary +0:00',
'Atlantic/Faeroe' => 'Faeroe +0:00',
'Atlantic/Faroe' => 'Faroe +0:00',
'Atlantic/Madeira' => 'Madeira +0:00',
'Atlantic/Reykjavik' => 'Reykjavik +0:00',
'Atlantic/St_Helena' => 'St_Helena +0:00',
'Atlantic/Jan_Mayen' => 'Jan_Mayen +1:00',
),
'Brazil' => array(
'Brazil/Acre' => 'Acre -4:00',
'Brazil/West' => 'West -4:00',
'Brazil/East' => 'East -3:00',
'Brazil/DeNoronha' => 'DeNoronha -2:00',
),
'Africa' => array(
'Africa/Abidjan' => 'Abidjan +0:00',
'Africa/Accra' => 'Accra +0:00',
'Africa/Bamako' => 'Bamako +0:00',
'Africa/Banjul' => 'Banjul +0:00',
'Africa/Bissau' => 'Bissau +0:00',
'Africa/Casablanca' => 'Casablanca +0:00',
'Africa/Conakry' => 'Conakry +0:00',
'Africa/Dakar' => 'Dakar +0:00',
'Africa/El_Aaiun' => 'El_Aaiun +0:00',
'Africa/Freetown' => 'Freetown +0:00',
'Africa/Lome' => 'Lome +0:00',
'Africa/Monrovia' => 'Monrovia +0:00',
'Africa/Nouakchott' => 'Nouakchott +0:00',
'Africa/Ouagadougou' => 'Ouagadougou +0:00',
'Africa/Sao_Tome' => 'Sao_Tome +0:00',
'Africa/Timbuktu' => 'Timbuktu +0:00',
'Africa/Algiers' => 'Algiers +1:00',
'Africa/Bangui' => 'Bangui +1:00',
'Africa/Brazzaville' => 'Brazzaville +1:00',
'Africa/Ceuta' => 'Ceuta +1:00',
'Africa/Douala' => 'Douala +1:00',
'Africa/Kinshasa' => 'Kinshasa +1:00',
'Africa/Lagos' => 'Lagos +1:00',
'Africa/Libreville' => 'Libreville +1:00',
'Africa/Luanda' => 'Luanda +1:00',
'Africa/Malabo' => 'Malabo +1:00',
'Africa/Ndjamena' => 'Ndjamena +1:00',
'Africa/Niamey' => 'Niamey +1:00',
'Africa/Porto-Novo' => 'Porto-Novo +1:00',
'Africa/Tunis' => 'Tunis +1:00',
'Africa/Windhoek' => 'Windhoek +1:00',
'Africa/Blantyre' => 'Blantyre +2:00',
'Africa/Bujumbura' => 'Bujumbura +2:00',
'Africa/Cairo' => 'Cairo +2:00',
'Africa/Gaborone' => 'Gaborone +2:00',
'Africa/Harare' => 'Harare +2:00',
'Africa/Johannesburg' => 'Johannesburg +2:00',
'Africa/Kigali' => 'Kigali +2:00',
'Africa/Lubumbashi' => 'Lubumbashi +2:00',
'Africa/Lusaka' => 'Lusaka +2:00',
'Africa/Maputo' => 'Maputo +2:00',
'Africa/Maseru' => 'Maseru +2:00',
'Africa/Mbabane' => 'Mbabane +2:00',
'Africa/Tripoli' => 'Tripoli +2:00',
'Africa/Addis_Ababa' => 'Addis_Ababa +3:00',
'Africa/Asmara' => 'Asmara +3:00',
'Africa/Asmera' => 'Asmera +3:00',
'Africa/Dar_es_Salaam' => 'Dar_es_Salaam +3:00',
'Africa/Djibouti' => 'Djibouti +3:00',
'Africa/Kampala' => 'Kampala +3:00',
'Africa/Khartoum' => 'Khartoum +3:00',
'Africa/Mogadishu' => 'Mogadishu +3:00',
'Africa/Nairobi' => 'Nairobi +3:00',
),
'Europe' => array(
'Europe/Belfast' => 'Belfast +0:00',
'Europe/Dublin' => 'Dublin +0:00',
'Europe/Guernsey' => 'Guernsey +0:00',
'Europe/Isle_of_Man' => 'Isle_of_Man +0:00',
'Europe/Jersey' => 'Jersey +0:00',
'Europe/Lisbon' => 'Lisbon +0:00',
'Europe/London' => 'London +0:00',
'Europe/Amsterdam' => 'Amsterdam +1:00',
'Europe/Andorra' => 'Andorra +1:00',
'Europe/Belgrade' => 'Belgrade +1:00',
'Europe/Berlin' => 'Berlin +1:00',
'Europe/Bratislava' => 'Bratislava +1:00',
'Europe/Brussels' => 'Brussels +1:00',
'Europe/Budapest' => 'Budapest +1:00',
'Europe/Copenhagen' => 'Copenhagen +1:00',
'Europe/Gibraltar' => 'Gibraltar +1:00',
'Europe/Ljubljana' => 'Ljubljana +1:00',
'Europe/Luxembourg' => 'Luxembourg +1:00',
'Europe/Madrid' => 'Madrid +1:00',
'Europe/Malta' => 'Malta +1:00',
'Europe/Monaco' => 'Monaco +1:00',
'Europe/Oslo' => 'Oslo +1:00',
'Europe/Paris' => 'Paris +1:00',
'Europe/Podgorica' => 'Podgorica +1:00',
'Europe/Prague' => 'Prague +1:00',
'Europe/Rome' => 'Rome +1:00',
'Europe/San_Marino' => 'San_Marino +1:00',
'Europe/Sarajevo' => 'Sarajevo +1:00',
'Europe/Skopje' => 'Skopje +1:00',
'Europe/Stockholm' => 'Stockholm +1:00',
'Europe/Tirane' => 'Tirane +1:00',
'Europe/Vaduz' => 'Vaduz +1:00',
'Europe/Vatican' => 'Vatican +1:00',
'Europe/Vienna' => 'Vienna +1:00',
'Europe/Warsaw' => 'Warsaw +1:00',
'Europe/Zagreb' => 'Zagreb +1:00',
'Europe/Zurich' => 'Zurich +1:00',
'Europe/Athens' => 'Athens +2:00',
'Europe/Bucharest' => 'Bucharest +2:00',
'Europe/Chisinau' => 'Chisinau +2:00',
'Europe/Helsinki' => 'Helsinki +2:00',
'Europe/Istanbul' => 'Istanbul +2:00',
'Europe/Kaliningrad' => 'Kaliningrad +2:00',
'Europe/Kiev' => 'Kiev +2:00',
'Europe/Mariehamn' => 'Mariehamn +2:00',
'Europe/Minsk' => 'Minsk +2:00',
'Europe/Nicosia' => 'Nicosia +2:00',
'Europe/Riga' => 'Riga +2:00',
'Europe/Simferopol' => 'Simferopol +2:00',
'Europe/Sofia' => 'Sofia +2:00',
'Europe/Tallinn' => 'Tallinn +2:00',
'Europe/Tiraspol' => 'Tiraspol +2:00',
'Europe/Uzhgorod' => 'Uzhgorod +2:00',
'Europe/Vilnius' => 'Vilnius +2:00',
'Europe/Zaporozhye' => 'Zaporozhye +2:00',
'Europe/Moscow' => 'Moscow +3:00',
'Europe/Volgograd' => 'Volgograd +3:00',
'Europe/Samara' => 'Samara +4:00',
),
'Arctic' => array(
'Arctic/Longyearbyen' => 'Longyearbyen +1:00',
),
'Asia' => array(
'Asia/Amman' => 'Amman +2:00',
'Asia/Beirut' => 'Beirut +2:00',
'Asia/Damascus' => 'Damascus +2:00',
'Asia/Gaza' => 'Gaza +2:00',
'Asia/Istanbul' => 'Istanbul +2:00',
'Asia/Jerusalem' => 'Jerusalem +2:00',
'Asia/Nicosia' => 'Nicosia +2:00',
'Asia/Tel_Aviv' => 'Tel_Aviv +2:00',
'Asia/Aden' => 'Aden +3:00',
'Asia/Baghdad' => 'Baghdad +3:00',
'Asia/Bahrain' => 'Bahrain +3:00',
'Asia/Kuwait' => 'Kuwait +3:00',
'Asia/Qatar' => 'Qatar +3:00',
'Asia/Tehran' => 'Tehran +3:30',
'Asia/Baku' => 'Baku +4:00',
'Asia/Dubai' => 'Dubai +4:00',
'Asia/Muscat' => 'Muscat +4:00',
'Asia/Tbilisi' => 'Tbilisi +4:00',
'Asia/Yerevan' => 'Yerevan +4:00',
'Asia/Kabul' => 'Kabul +4:30',
'Asia/Aqtau' => 'Aqtau +5:00',
'Asia/Aqtobe' => 'Aqtobe +5:00',
'Asia/Ashgabat' => 'Ashgabat +5:00',
'Asia/Ashkhabad' => 'Ashkhabad +5:00',
'Asia/Dushanbe' => 'Dushanbe +5:00',
'Asia/Karachi' => 'Karachi +5:00',
'Asia/Oral' => 'Oral +5:00',
'Asia/Samarkand' => 'Samarkand +5:00',
'Asia/Tashkent' => 'Tashkent +5:00',
'Asia/Yekaterinburg' => 'Yekaterinburg +5:00',
'Asia/Calcutta' => 'Calcutta +5:30',
'Asia/Colombo' => 'Colombo +5:30',
'Asia/Kolkata' => 'Kolkata +5:30',
'Asia/Katmandu' => 'Katmandu +5:45',
'Asia/Almaty' => 'Almaty +6:00',
'Asia/Bishkek' => 'Bishkek +6:00',
'Asia/Dacca' => 'Dacca +6:00',
'Asia/Dhaka' => 'Dhaka +6:00',
'Asia/Novosibirsk' => 'Novosibirsk +6:00',
'Asia/Omsk' => 'Omsk +6:00',
'Asia/Qyzylorda' => 'Qyzylorda +6:00',
'Asia/Thimbu' => 'Thimbu +6:00',
'Asia/Thimphu' => 'Thimphu +6:00',
'Asia/Rangoon' => 'Rangoon +6:30',
'Asia/Bangkok' => 'Bangkok +7:00',
'Asia/Ho_Chi_Minh' => 'Ho_Chi_Minh +7:00',
'Asia/Hovd' => 'Hovd +7:00',
'Asia/Jakarta' => 'Jakarta +7:00',
'Asia/Krasnoyarsk' => 'Krasnoyarsk +7:00',
'Asia/Phnom_Penh' => 'Phnom_Penh +7:00',
'Asia/Pontianak' => 'Pontianak +7:00',
'Asia/Saigon' => 'Saigon +7:00',
'Asia/Vientiane' => 'Vientiane +7:00',
'Asia/Brunei' => 'Brunei +8:00',
'Asia/Choibalsan' => 'Choibalsan +8:00',
'Asia/Chongqing' => 'Chongqing +8:00',
'Asia/Chungking' => 'Chungking +8:00',
'Asia/Harbin' => 'Harbin +8:00',
'Asia/Hong_Kong' => 'Hong_Kong +8:00',
'Asia/Irkutsk' => 'Irkutsk +8:00',
'Asia/Kashgar' => 'Kashgar +8:00',
'Asia/Kuala_Lumpur' => 'Kuala_Lumpur +8:00',
'Asia/Kuching' => 'Kuching +8:00',
'Asia/Macao' => 'Macao +8:00',
'Asia/Macau' => 'Macau +8:00',
'Asia/Makassar' => 'Makassar +8:00',
'Asia/Manila' => 'Manila +8:00',
'Asia/Shanghai' => 'Shanghai +8:00',
'Asia/Singapore' => 'Singapore +8:00',
'Asia/Taipei' => 'Taipei +8:00',
'Asia/Ujung_Pandang' => 'Ujung_Pandang +8:00',
'Asia/Ulaanbaatar' => 'Ulaanbaatar +8:00',
'Asia/Ulan_Bator' => 'Ulan_Bator +8:00',
'Asia/Urumqi' => 'Urumqi +8:00',
'Asia/Dili' => 'Dili +9:00',
'Asia/Jayapura' => 'Jayapura +9:00',
'Asia/Pyongyang' => 'Pyongyang +9:00',
'Asia/Seoul' => 'Seoul +9:00',
'Asia/Tokyo' => 'Tokyo +9:00',
'Asia/Yakutsk' => 'Yakutsk +9:00',
'Asia/Sakhalin' => 'Sakhalin +10:00',
'Asia/Vladivostok' => 'Vladivostok +10:00',
'Asia/Magadan' => 'Magadan +11:00',
'Asia/Anadyr' => 'Anadyr +12:00',
'Asia/Kamchatka' => 'Kamchatka +12:00',
),
'Indian' => array(
'Indian/Antananarivo' => 'Antananarivo +3:00',
'Indian/Comoro' => 'Comoro +3:00',
'Indian/Mayotte' => 'Mayotte +3:00',
'Indian/Mahe' => 'Mahe +4:00',
'Indian/Mauritius' => 'Mauritius +4:00',
'Indian/Reunion' => 'Reunion +4:00',
'Indian/Kerguelen' => 'Kerguelen +5:00',
'Indian/Maldives' => 'Maldives +5:00',
'Indian/Chagos' => 'Chagos +6:00',
'Indian/Cocos' => 'Cocos +6:30',
'Indian/Christmas' => 'Christmas +7:00',
),
'Australia' => array(
'Australia/Perth' => 'Perth +8:00',
'Australia/West' => 'West +8:00',
'Australia/Eucla' => 'Eucla +8:45',
'Australia/Adelaide' => 'Adelaide +9:30',
'Australia/Broken_Hill' => 'Broken_Hill +9:30',
'Australia/Darwin' => 'Darwin +9:30',
'Australia/North' => 'North +9:30',
'Australia/South' => 'South +9:30',
'Australia/Yancowinna' => 'Yancowinna +9:30',
'Australia/ACT' => 'ACT +10:00',
'Australia/Brisbane' => 'Brisbane +10:00',
'Australia/Canberra' => 'Canberra +10:00',
'Australia/Currie' => 'Currie +10:00',
'Australia/Hobart' => 'Hobart +10:00',
'Australia/Lindeman' => 'Lindeman +10:00',
'Australia/Melbourne' => 'Melbourne +10:00',
'Australia/NSW' => 'NSW +10:00',
'Australia/Queensland' => 'Queensland +10:00',
'Australia/Sydney' => 'Sydney +10:00',
'Australia/Tasmania' => 'Tasmania +10:00',
'Australia/Victoria' => 'Victoria +10:00',
'Australia/LHI' => 'LHI +10:30',
'Australia/Lord_Howe' => 'Lord_Howe +10:30',
),
);
<?php
// time zones list from PHP
$timezone_identifiers = ($cont == NULL) ? DateTimeZone::listIdentifiers() : DateTimeZone::listIdentifiers(NULL);
$continent = "";
$i = "";
$timezones = array();
$phpTime = Date("Y-m-d H:i:s");
foreach ($timezone_identifiers as $key => $value) {
if (preg_match('/^(Europe|America|Asia|Antarctica|Arctic|Atlantic|Indian|Pacific)\//', $value)) {
$ex = explode("/", $value); //obtain continent, city
if ($continent != $ex[0]) {
$i = $ex[0];
}
$timezone = new DateTimeZone($value); // Get default system timezone to create a new DateTimeZone object
$offset = $timezone->getOffset(new \DateTime($phpTime));
$offsetHours = round(abs($offset) / 3600);
$offsetString = ($offset < 0 ? '-' : '+');
if ($offsetHours == 1 or $offsetHours == -1) {
$label = "Hour";
} else {
$label = "Hours";
}
$city = $ex[1];
$continent = $ex[0];
$c[$i][$value] = isset($ex[2]) ? $ex[1] . ' - ' . $ex[2] : $ex[1];
$timezones[$i][$value] = $c[$i][$value] . " (" . $offsetString . $offsetHours . " " . $label . ")";
}
}
var_dump($timezones);
@xmaestro
Copy link

In case anyone wants to split the array in the first gist into zones and standards, i have written this function below. Also pasted is the sample response:

<?php

function splitZonesAndStandards($timezones){

    $splitZoneInfo = [];

    foreach($timezones as $t=>$z){

        $offset = trim(str_replace(array(')','('),'',substr($z,0,strpos($z, ' '))));
        
        $zone = trim(str_replace(array(')','('),'',substr($z,strpos($z, ' '),strlen($z))));
        
        $standard = trim(str_replace(array(')','('),'',substr($zone,strpos($zone, ' '),strlen($zone))));
        
        $zone = trim(str_replace(array(')','('),'',substr($zone,0,strpos($zone, ' '))));
        
        $splitZoneInfo[$t] = [
        
            'offset' => $offset,
            'zone' => $zone,
            'standard' => $standard
            
        ];
    
    }
    
    return $splitZoneInfo;

}

print_r(splitZonesAndStandards($timezones));

Array
(
    [America/Adak] => Array
        (
            [offset] => GMT-10:00
            [zone] => America/Adak
            [standard] => Hawaii-Aleutian Standard Time
        )

    [America/Atka] => Array
        (
            [offset] => GMT-10:00
            [zone] => America/Atka
            [standard] => Hawaii-Aleutian Standard Time
        )

...

@seabasss
Copy link

seabasss commented Sep 20, 2019

Thanks for this! Maybe I don't understand how timezones work, but 'America/Los_Angeles' => '(GMT-8:00) America/Los_Angeles (Pacific Standard Time)' give me the same time as 'America/Phoenix' => '(GMT-7:00) America/Phoenix (Mountain Standard Time)'. Google confirmed that it's correct, but I always thought that the GMT-HOUR indicated that LA and Phoenix should be an hour apart. Denver is also GMT-7:00 but that shows up as one hour ahead. What's the easy explanation to this?

@nishit039
Copy link

Array
(
[0] => Array
(
[time] => -10:00
[title] => America/Adak
[value] => (GMT-10:00) America/Adak (Hawaii-Aleutian Standard Time)
)

[1] => Array
    (
        [time] => -10:00
        [title] => America/Atka
        [value] => (GMT-10:00) America/Atka (Hawaii-Aleutian Standard Time)
    )

[2] => Array
    (
        [time] => -9:00
        [title] => America/Anchorage
        [value] => (GMT-9:00) America/Anchorage (Alaska Standard Time)
    )

[3] => Array
    (
        [time] => -9:00
        [title] => America/Juneau
        [value] => (GMT-9:00) America/Juneau (Alaska Standard Time)
    )

[4] => Array
    (
        [time] => -9:00
        [title] => America/Nome
        [value] => (GMT-9:00) America/Nome (Alaska Standard Time)
    )

[5] => Array
    (
        [time] => -9:00
        [title] => America/Yakutat
        [value] => (GMT-9:00) America/Yakutat (Alaska Standard Time)
    )

[6] => Array
    (
        [time] => -8:00
        [title] => America/Dawson
        [value] => (GMT-8:00) America/Dawson (Pacific Standard Time)
    )

[7] => Array
    (
        [time] => -8:00
        [title] => America/Ensenada
        [value] => (GMT-8:00) America/Ensenada (Pacific Standard Time)
    )

[8] => Array
    (
        [time] => -8:00
        [title] => America/Los_Angeles
        [value] => (GMT-8:00) America/Los_Angeles (Pacific Standard Time)
    )

[9] => Array
    (
        [time] => -8:00
        [title] => America/Tijuana
        [value] => (GMT-8:00) America/Tijuana (Pacific Standard Time)
    )

[10] => Array
    (
        [time] => -8:00
        [title] => America/Vancouver
        [value] => (GMT-8:00) America/Vancouver (Pacific Standard Time)
    )

[11] => Array
    (
        [time] => -8:00
        [title] => America/Whitehorse
        [value] => (GMT-8:00) America/Whitehorse (Pacific Standard Time)
    )

[12] => Array
    (
        [time] => -8:00
        [title] => Canada/Pacific
        [value] => (GMT-8:00) Canada/Pacific (Pacific Standard Time)
    )

[13] => Array
    (
        [time] => -8:00
        [title] => Canada/Yukon
        [value] => (GMT-8:00) Canada/Yukon (Pacific Standard Time)
    )

[14] => Array
    (
        [time] => -8:00
        [title] => Mexico/BajaNorte
        [value] => (GMT-8:00) Mexico/BajaNorte (Pacific Standard Time)
    )

[15] => Array
    (
        [time] => -7:00
        [title] => America/Boise
        [value] => (GMT-7:00) America/Boise (Mountain Standard Time)
    )

[16] => Array
    (
        [time] => -7:00
        [title] => America/Cambridge_Bay
        [value] => (GMT-7:00) America/Cambridge_Bay (Mountain Standard Time)
    )

[17] => Array
    (
        [time] => -7:00
        [title] => America/Chihuahua
        [value] => (GMT-7:00) America/Chihuahua (Mountain Standard Time)
    )

[18] => Array
    (
        [time] => -7:00
        [title] => America/Dawson_Creek
        [value] => (GMT-7:00) America/Dawson_Creek (Mountain Standard Time)
    )

[19] => Array
    (
        [time] => -7:00
        [title] => America/Denver
        [value] => (GMT-7:00) America/Denver (Mountain Standard Time)
    )

[20] => Array
    (
        [time] => -7:00
        [title] => America/Edmonton
        [value] => (GMT-7:00) America/Edmonton (Mountain Standard Time)
    )

[21] => Array
    (
        [time] => -7:00
        [title] => America/Hermosillo
        [value] => (GMT-7:00) America/Hermosillo (Mountain Standard Time)
    )

[22] => Array
    (
        [time] => -7:00
        [title] => America/Inuvik
        [value] => (GMT-7:00) America/Inuvik (Mountain Standard Time)
    )

[23] => Array
    (
        [time] => -7:00
        [title] => America/Mazatlan
        [value] => (GMT-7:00) America/Mazatlan (Mountain Standard Time)
    )

[24] => Array
    (
        [time] => -7:00
        [title] => America/Phoenix
        [value] => (GMT-7:00) America/Phoenix (Mountain Standard Time)
    )

[25] => Array
    (
        [time] => -7:00
        [title] => America/Shiprock
        [value] => (GMT-7:00) America/Shiprock (Mountain Standard Time)
    )

[26] => Array
    (
        [time] => -7:00
        [title] => America/Yellowknife
        [value] => (GMT-7:00) America/Yellowknife (Mountain Standard Time)
    )

[27] => Array
    (
        [time] => -7:00
        [title] => Canada/Mountain
        [value] => (GMT-7:00) Canada/Mountain (Mountain Standard Time)
    )

[28] => Array
    (
        [time] => -7:00
        [title] => Mexico/BajaSur
        [value] => (GMT-7:00) Mexico/BajaSur (Mountain Standard Time)
    )

[29] => Array
    (
        [time] => -6:00
        [title] => America/Belize
        [value] => (GMT-6:00) America/Belize (Central Standard Time)
    )

[30] => Array
    (
        [time] => -6:00
        [title] => America/Cancun
        [value] => (GMT-6:00) America/Cancun (Central Standard Time)
    )

[31] => Array
    (
        [time] => -6:00
        [title] => America/Chicago
        [value] => (GMT-6:00) America/Chicago (Central Standard Time)
    )

[32] => Array
    (
        [time] => -6:00
        [title] => America/Costa_Rica
        [value] => (GMT-6:00) America/Costa_Rica (Central Standard Time)
    )

[33] => Array
    (
        [time] => -6:00
        [title] => America/El_Salvador
        [value] => (GMT-6:00) America/El_Salvador (Central Standard Time)
    )

[34] => Array
    (
        [time] => -6:00
        [title] => America/Guatemala
        [value] => (GMT-6:00) America/Guatemala (Central Standard Time)
    )

[35] => Array
    (
        [time] => -6:00
        [title] => America/Knox_IN
        [value] => (GMT-6:00) America/Knox_IN (Central Standard Time)
    )

[36] => Array
    (
        [time] => -6:00
        [title] => America/Managua
        [value] => (GMT-6:00) America/Managua (Central Standard Time)
    )

[37] => Array
    (
        [time] => -6:00
        [title] => America/Menominee
        [value] => (GMT-6:00) America/Menominee (Central Standard Time)
    )

[38] => Array
    (
        [time] => -6:00
        [title] => America/Merida
        [value] => (GMT-6:00) America/Merida (Central Standard Time)
    )

[39] => Array
    (
        [time] => -6:00
        [title] => America/Mexico_City
        [value] => (GMT-6:00) America/Mexico_City (Central Standard Time)
    )

[40] => Array
    (
        [time] => -6:00
        [title] => America/Monterrey
        [value] => (GMT-6:00) America/Monterrey (Central Standard Time)
    )

[41] => Array
    (
        [time] => -6:00
        [title] => America/Rainy_River
        [value] => (GMT-6:00) America/Rainy_River (Central Standard Time)
    )

[42] => Array
    (
        [time] => -6:00
        [title] => America/Rankin_Inlet
        [value] => (GMT-6:00) America/Rankin_Inlet (Central Standard Time)
    )

[43] => Array
    (
        [time] => -6:00
        [title] => America/Regina
        [value] => (GMT-6:00) America/Regina (Central Standard Time)
    )

[44] => Array
    (
        [time] => -6:00
        [title] => America/Swift_Current
        [value] => (GMT-6:00) America/Swift_Current (Central Standard Time)
    )

[45] => Array
    (
        [time] => -6:00
        [title] => America/Tegucigalpa
        [value] => (GMT-6:00) America/Tegucigalpa (Central Standard Time)
    )

[46] => Array
    (
        [time] => -6:00
        [title] => America/Winnipeg
        [value] => (GMT-6:00) America/Winnipeg (Central Standard Time)
    )

[47] => Array
    (
        [time] => -6:00
        [title] => Canada/Central
        [value] => (GMT-6:00) Canada/Central (Central Standard Time)
    )

[48] => Array
    (
        [time] => -6:00
        [title] => Canada/East-Saskatchewan
        [value] => (GMT-6:00) Canada/East-Saskatchewan (Central Standard Time)
    )

[49] => Array
    (
        [time] => -6:00
        [title] => Canada/Saskatchewan
        [value] => (GMT-6:00) Canada/Saskatchewan (Central Standard Time)
    )

[50] => Array
    (
        [time] => -6:00
        [title] => Chile/EasterIsland
        [value] => (GMT-6:00) Chile/EasterIsland (Easter Is. Time)
    )

[51] => Array
    (
        [time] => -6:00
        [title] => Mexico/General
        [value] => (GMT-6:00) Mexico/General (Central Standard Time)
    )

[52] => Array
    (
        [time] => -5:00
        [title] => America/Atikokan
        [value] => (GMT-5:00) America/Atikokan (Eastern Standard Time)
    )

[53] => Array
    (
        [time] => -5:00
        [title] => America/Bogota
        [value] => (GMT-5:00) America/Bogota (Colombia Time)
    )

[54] => Array
    (
        [time] => -5:00
        [title] => America/Cayman
        [value] => (GMT-5:00) America/Cayman (Eastern Standard Time)
    )

[55] => Array
    (
        [time] => -5:00
        [title] => America/Coral_Harbour
        [value] => (GMT-5:00) America/Coral_Harbour (Eastern Standard Time)
    )

[56] => Array
    (
        [time] => -5:00
        [title] => America/Detroit
        [value] => (GMT-5:00) America/Detroit (Eastern Standard Time)
    )

[57] => Array
    (
        [time] => -5:00
        [title] => America/Fort_Wayne
        [value] => (GMT-5:00) America/Fort_Wayne (Eastern Standard Time)
    )

[58] => Array
    (
        [time] => -5:00
        [title] => America/Grand_Turk
        [value] => (GMT-5:00) America/Grand_Turk (Eastern Standard Time)
    )

[59] => Array
    (
        [time] => -5:00
        [title] => America/Guayaquil
        [value] => (GMT-5:00) America/Guayaquil (Ecuador Time)
    )

[60] => Array
    (
        [time] => -5:00
        [title] => America/Havana
        [value] => (GMT-5:00) America/Havana (Cuba Standard Time)
    )

[61] => Array
    (
        [time] => -5:00
        [title] => America/Indianapolis
        [value] => (GMT-5:00) America/Indianapolis (Eastern Standard Time)
    )

[62] => Array
    (
        [time] => -5:00
        [title] => America/Iqaluit
        [value] => (GMT-5:00) America/Iqaluit (Eastern Standard Time)
    )

[63] => Array
    (
        [time] => -5:00
        [title] => America/Jamaica
        [value] => (GMT-5:00) America/Jamaica (Eastern Standard Time)
    )

[64] => Array
    (
        [time] => -5:00
        [title] => America/Lima
        [value] => (GMT-5:00) America/Lima (Peru Time)
    )

[65] => Array
    (
        [time] => -5:00
        [title] => America/Louisville
        [value] => (GMT-5:00) America/Louisville (Eastern Standard Time)
    )

[66] => Array
    (
        [time] => -5:00
        [title] => America/Montreal
        [value] => (GMT-5:00) America/Montreal (Eastern Standard Time)
    )

[67] => Array
    (
        [time] => -5:00
        [title] => America/Nassau
        [value] => (GMT-5:00) America/Nassau (Eastern Standard Time)
    )

[68] => Array
    (
        [time] => -5:00
        [title] => America/New_York
        [value] => (GMT-5:00) America/New_York (Eastern Standard Time)
    )

[69] => Array
    (
        [time] => -5:00
        [title] => America/Nipigon
        [value] => (GMT-5:00) America/Nipigon (Eastern Standard Time)
    )

[70] => Array
    (
        [time] => -5:00
        [title] => America/Panama
        [value] => (GMT-5:00) America/Panama (Eastern Standard Time)
    )

[71] => Array
    (
        [time] => -5:00
        [title] => America/Pangnirtung
        [value] => (GMT-5:00) America/Pangnirtung (Eastern Standard Time)
    )

[72] => Array
    (
        [time] => -5:00
        [title] => America/Port-au-Prince
        [value] => (GMT-5:00) America/Port-au-Prince (Eastern Standard Time)
    )

[73] => Array
    (
        [time] => -5:00
        [title] => America/Resolute
        [value] => (GMT-5:00) America/Resolute (Eastern Standard Time)
    )

[74] => Array
    (
        [time] => -5:00
        [title] => America/Thunder_Bay
        [value] => (GMT-5:00) America/Thunder_Bay (Eastern Standard Time)
    )

[75] => Array
    (
        [time] => -5:00
        [title] => America/Toronto
        [value] => (GMT-5:00) America/Toronto (Eastern Standard Time)
    )

[76] => Array
    (
        [time] => -5:00
        [title] => Canada/Eastern
        [value] => (GMT-5:00) Canada/Eastern (Eastern Standard Time)
    )

[77] => Array
    (
        [time] => -4:-30
        [title] => America/Caracas
        [value] => (GMT-4:-30) America/Caracas (Venezuela Time)
    )

[78] => Array
    (
        [time] => -4:00
        [title] => America/Anguilla
        [value] => (GMT-4:00) America/Anguilla (Atlantic Standard Time)
    )

[79] => Array
    (
        [time] => -4:00
        [title] => America/Antigua
        [value] => (GMT-4:00) America/Antigua (Atlantic Standard Time)
    )

[80] => Array
    (
        [time] => -4:00
        [title] => America/Aruba
        [value] => (GMT-4:00) America/Aruba (Atlantic Standard Time)
    )

[81] => Array
    (
        [time] => -4:00
        [title] => America/Asuncion
        [value] => (GMT-4:00) America/Asuncion (Paraguay Time)
    )

[82] => Array
    (
        [time] => -4:00
        [title] => America/Barbados
        [value] => (GMT-4:00) America/Barbados (Atlantic Standard Time)
    )

[83] => Array
    (
        [time] => -4:00
        [title] => America/Blanc-Sablon
        [value] => (GMT-4:00) America/Blanc-Sablon (Atlantic Standard Time)
    )

[84] => Array
    (
        [time] => -4:00
        [title] => America/Boa_Vista
        [value] => (GMT-4:00) America/Boa_Vista (Amazon Time)
    )

[85] => Array
    (
        [time] => -4:00
        [title] => America/Campo_Grande
        [value] => (GMT-4:00) America/Campo_Grande (Amazon Time)
    )

[86] => Array
    (
        [time] => -4:00
        [title] => America/Cuiaba
        [value] => (GMT-4:00) America/Cuiaba (Amazon Time)
    )

[87] => Array
    (
        [time] => -4:00
        [title] => America/Curacao
        [value] => (GMT-4:00) America/Curacao (Atlantic Standard Time)
    )

[88] => Array
    (
        [time] => -4:00
        [title] => America/Dominica
        [value] => (GMT-4:00) America/Dominica (Atlantic Standard Time)
    )

[89] => Array
    (
        [time] => -4:00
        [title] => America/Eirunepe
        [value] => (GMT-4:00) America/Eirunepe (Amazon Time)
    )

[90] => Array
    (
        [time] => -4:00
        [title] => America/Glace_Bay
        [value] => (GMT-4:00) America/Glace_Bay (Atlantic Standard Time)
    )

[91] => Array
    (
        [time] => -4:00
        [title] => America/Goose_Bay
        [value] => (GMT-4:00) America/Goose_Bay (Atlantic Standard Time)
    )

[92] => Array
    (
        [time] => -4:00
        [title] => America/Grenada
        [value] => (GMT-4:00) America/Grenada (Atlantic Standard Time)
    )

[93] => Array
    (
        [time] => -4:00
        [title] => America/Guadeloupe
        [value] => (GMT-4:00) America/Guadeloupe (Atlantic Standard Time)
    )

[94] => Array
    (
        [time] => -4:00
        [title] => America/Guyana
        [value] => (GMT-4:00) America/Guyana (Guyana Time)
    )

[95] => Array
    (
        [time] => -4:00
        [title] => America/Halifax
        [value] => (GMT-4:00) America/Halifax (Atlantic Standard Time)
    )

[96] => Array
    (
        [time] => -4:00
        [title] => America/La_Paz
        [value] => (GMT-4:00) America/La_Paz (Bolivia Time)
    )

[97] => Array
    (
        [time] => -4:00
        [title] => America/Manaus
        [value] => (GMT-4:00) America/Manaus (Amazon Time)
    )

[98] => Array
    (
        [time] => -4:00
        [title] => America/Marigot
        [value] => (GMT-4:00) America/Marigot (Atlantic Standard Time)
    )

[99] => Array
    (
        [time] => -4:00
        [title] => America/Martinique
        [value] => (GMT-4:00) America/Martinique (Atlantic Standard Time)
    )

[100] => Array
    (
        [time] => -4:00
        [title] => America/Moncton
        [value] => (GMT-4:00) America/Moncton (Atlantic Standard Time)
    )

[101] => Array
    (
        [time] => -4:00
        [title] => America/Montserrat
        [value] => (GMT-4:00) America/Montserrat (Atlantic Standard Time)
    )

[102] => Array
    (
        [time] => -4:00
        [title] => America/Port_of_Spain
        [value] => (GMT-4:00) America/Port_of_Spain (Atlantic Standard Time)
    )

[103] => Array
    (
        [time] => -4:00
        [title] => America/Porto_Acre
        [value] => (GMT-4:00) America/Porto_Acre (Amazon Time)
    )

[104] => Array
    (
        [time] => -4:00
        [title] => America/Porto_Velho
        [value] => (GMT-4:00) America/Porto_Velho (Amazon Time)
    )

[105] => Array
    (
        [time] => -4:00
        [title] => America/Puerto_Rico
        [value] => (GMT-4:00) America/Puerto_Rico (Atlantic Standard Time)
    )

[106] => Array
    (
        [time] => -4:00
        [title] => America/Rio_Branco
        [value] => (GMT-4:00) America/Rio_Branco (Amazon Time)
    )

[107] => Array
    (
        [time] => -4:00
        [title] => America/Santiago
        [value] => (GMT-4:00) America/Santiago (Chile Time)
    )

[108] => Array
    (
        [time] => -4:00
        [title] => America/Santo_Domingo
        [value] => (GMT-4:00) America/Santo_Domingo (Atlantic Standard Time)
    )

[109] => Array
    (
        [time] => -4:00
        [title] => America/St_Barthelemy
        [value] => (GMT-4:00) America/St_Barthelemy (Atlantic Standard Time)
    )

[110] => Array
    (
        [time] => -4:00
        [title] => America/St_Kitts
        [value] => (GMT-4:00) America/St_Kitts (Atlantic Standard Time)
    )

[111] => Array
    (
        [time] => -4:00
        [title] => America/St_Lucia
        [value] => (GMT-4:00) America/St_Lucia (Atlantic Standard Time)
    )

[112] => Array
    (
        [time] => -4:00
        [title] => America/St_Thomas
        [value] => (GMT-4:00) America/St_Thomas (Atlantic Standard Time)
    )

[113] => Array
    (
        [time] => -4:00
        [title] => America/St_Vincent
        [value] => (GMT-4:00) America/St_Vincent (Atlantic Standard Time)
    )

[114] => Array
    (
        [time] => -4:00
        [title] => America/Thule
        [value] => (GMT-4:00) America/Thule (Atlantic Standard Time)
    )

[115] => Array
    (
        [time] => -4:00
        [title] => America/Tortola
        [value] => (GMT-4:00) America/Tortola (Atlantic Standard Time)
    )

[116] => Array
    (
        [time] => -4:00
        [title] => America/Virgin
        [value] => (GMT-4:00) America/Virgin (Atlantic Standard Time)
    )

[117] => Array
    (
        [time] => -4:00
        [title] => Antarctica/Palmer
        [value] => (GMT-4:00) Antarctica/Palmer (Chile Time)
    )

[118] => Array
    (
        [time] => -4:00
        [title] => Atlantic/Bermuda
        [value] => (GMT-4:00) Atlantic/Bermuda (Atlantic Standard Time)
    )

[119] => Array
    (
        [time] => -4:00
        [title] => Atlantic/Stanley
        [value] => (GMT-4:00) Atlantic/Stanley (Falkland Is. Time)
    )

[120] => Array
    (
        [time] => -4:00
        [title] => Brazil/Acre
        [value] => (GMT-4:00) Brazil/Acre (Amazon Time)
    )

[121] => Array
    (
        [time] => -4:00
        [title] => Brazil/West
        [value] => (GMT-4:00) Brazil/West (Amazon Time)
    )

[122] => Array
    (
        [time] => -4:00
        [title] => Canada/Atlantic
        [value] => (GMT-4:00) Canada/Atlantic (Atlantic Standard Time)
    )

[123] => Array
    (
        [time] => -4:00
        [title] => Chile/Continental
        [value] => (GMT-4:00) Chile/Continental (Chile Time)
    )

[124] => Array
    (
        [time] => -3:-30
        [title] => America/St_Johns
        [value] => (GMT-3:-30) America/St_Johns (Newfoundland Standard Time)
    )

[125] => Array
    (
        [time] => -3:-30
        [title] => Canada/Newfoundland
        [value] => (GMT-3:-30) Canada/Newfoundland (Newfoundland Standard Time)
    )

[126] => Array
    (
        [time] => -3:00
        [title] => America/Araguaina
        [value] => (GMT-3:00) America/Araguaina (Brasilia Time)
    )

[127] => Array
    (
        [time] => -3:00
        [title] => America/Bahia
        [value] => (GMT-3:00) America/Bahia (Brasilia Time)
    )

[128] => Array
    (
        [time] => -3:00
        [title] => America/Belem
        [value] => (GMT-3:00) America/Belem (Brasilia Time)
    )

[129] => Array
    (
        [time] => -3:00
        [title] => America/Buenos_Aires
        [value] => (GMT-3:00) America/Buenos_Aires (Argentine Time)
    )

[130] => Array
    (
        [time] => -3:00
        [title] => America/Catamarca
        [value] => (GMT-3:00) America/Catamarca (Argentine Time)
    )

[131] => Array
    (
        [time] => -3:00
        [title] => America/Cayenne
        [value] => (GMT-3:00) America/Cayenne (French Guiana Time)
    )

[132] => Array
    (
        [time] => -3:00
        [title] => America/Cordoba
        [value] => (GMT-3:00) America/Cordoba (Argentine Time)
    )

[133] => Array
    (
        [time] => -3:00
        [title] => America/Fortaleza
        [value] => (GMT-3:00) America/Fortaleza (Brasilia Time)
    )

[134] => Array
    (
        [time] => -3:00
        [title] => America/Godthab
        [value] => (GMT-3:00) America/Godthab (Western Greenland Time)
    )

[135] => Array
    (
        [time] => -3:00
        [title] => America/Jujuy
        [value] => (GMT-3:00) America/Jujuy (Argentine Time)
    )

[136] => Array
    (
        [time] => -3:00
        [title] => America/Maceio
        [value] => (GMT-3:00) America/Maceio (Brasilia Time)
    )

[137] => Array
    (
        [time] => -3:00
        [title] => America/Mendoza
        [value] => (GMT-3:00) America/Mendoza (Argentine Time)
    )

[138] => Array
    (
        [time] => -3:00
        [title] => America/Miquelon
        [value] => (GMT-3:00) America/Miquelon (Pierre & Miquelon Standard Time)
    )

[139] => Array
    (
        [time] => -3:00
        [title] => America/Montevideo
        [value] => (GMT-3:00) America/Montevideo (Uruguay Time)
    )

[140] => Array
    (
        [time] => -3:00
        [title] => America/Paramaribo
        [value] => (GMT-3:00) America/Paramaribo (Suriname Time)
    )

[141] => Array
    (
        [time] => -3:00
        [title] => America/Recife
        [value] => (GMT-3:00) America/Recife (Brasilia Time)
    )

[142] => Array
    (
        [time] => -3:00
        [title] => America/Rosario
        [value] => (GMT-3:00) America/Rosario (Argentine Time)
    )

[143] => Array
    (
        [time] => -3:00
        [title] => America/Santarem
        [value] => (GMT-3:00) America/Santarem (Brasilia Time)
    )

[144] => Array
    (
        [time] => -3:00
        [title] => America/Sao_Paulo
        [value] => (GMT-3:00) America/Sao_Paulo (Brasilia Time)
    )

[145] => Array
    (
        [time] => -3:00
        [title] => Antarctica/Rothera
        [value] => (GMT-3:00) Antarctica/Rothera (Rothera Time)
    )

[146] => Array
    (
        [time] => -3:00
        [title] => Brazil/East
        [value] => (GMT-3:00) Brazil/East (Brasilia Time)
    )

[147] => Array
    (
        [time] => -2:00
        [title] => America/Noronha
        [value] => (GMT-2:00) America/Noronha (Fernando de Noronha Time)
    )

[148] => Array
    (
        [time] => -2:00
        [title] => Atlantic/South_Georgia
        [value] => (GMT-2:00) Atlantic/South_Georgia (South Georgia Standard Time)
    )

[149] => Array
    (
        [time] => -2:00
        [title] => Brazil/DeNoronha
        [value] => (GMT-2:00) Brazil/DeNoronha (Fernando de Noronha Time)
    )

[150] => Array
    (
        [time] => -1:00
        [title] => America/Scoresbysund
        [value] => (GMT-1:00) America/Scoresbysund (Eastern Greenland Time)
    )

[151] => Array
    (
        [time] => -1:00
        [title] => Atlantic/Azores
        [value] => (GMT-1:00) Atlantic/Azores (Azores Time)
    )

[152] => Array
    (
        [time] => -1:00
        [title] => Atlantic/Cape_Verde
        [value] => (GMT-1:00) Atlantic/Cape_Verde (Cape Verde Time)
    )

[153] => Array
    (
        [time] => +0:00
        [title] => Africa/Abidjan
        [value] => (GMT+0:00) Africa/Abidjan (Greenwich Mean Time)
    )

[154] => Array
    (
        [time] => +0:00
        [title] => Africa/Accra
        [value] => (GMT+0:00) Africa/Accra (Ghana Mean Time)
    )

[155] => Array
    (
        [time] => +0:00
        [title] => Africa/Bamako
        [value] => (GMT+0:00) Africa/Bamako (Greenwich Mean Time)
    )

[156] => Array
    (
        [time] => +0:00
        [title] => Africa/Banjul
        [value] => (GMT+0:00) Africa/Banjul (Greenwich Mean Time)
    )

[157] => Array
    (
        [time] => +0:00
        [title] => Africa/Bissau
        [value] => (GMT+0:00) Africa/Bissau (Greenwich Mean Time)
    )

[158] => Array
    (
        [time] => +0:00
        [title] => Africa/Casablanca
        [value] => (GMT+0:00) Africa/Casablanca (Western European Time)
    )

[159] => Array
    (
        [time] => +0:00
        [title] => Africa/Conakry
        [value] => (GMT+0:00) Africa/Conakry (Greenwich Mean Time)
    )

[160] => Array
    (
        [time] => +0:00
        [title] => Africa/Dakar
        [value] => (GMT+0:00) Africa/Dakar (Greenwich Mean Time)
    )

[161] => Array
    (
        [time] => +0:00
        [title] => Africa/El_Aaiun
        [value] => (GMT+0:00) Africa/El_Aaiun (Western European Time)
    )

[162] => Array
    (
        [time] => +0:00
        [title] => Africa/Freetown
        [value] => (GMT+0:00) Africa/Freetown (Greenwich Mean Time)
    )

[163] => Array
    (
        [time] => +0:00
        [title] => Africa/Lome
        [value] => (GMT+0:00) Africa/Lome (Greenwich Mean Time)
    )

[164] => Array
    (
        [time] => +0:00
        [title] => Africa/Monrovia
        [value] => (GMT+0:00) Africa/Monrovia (Greenwich Mean Time)
    )

[165] => Array
    (
        [time] => +0:00
        [title] => Africa/Nouakchott
        [value] => (GMT+0:00) Africa/Nouakchott (Greenwich Mean Time)
    )

[166] => Array
    (
        [time] => +0:00
        [title] => Africa/Ouagadougou
        [value] => (GMT+0:00) Africa/Ouagadougou (Greenwich Mean Time)
    )

[167] => Array
    (
        [time] => +0:00
        [title] => Africa/Sao_Tome
        [value] => (GMT+0:00) Africa/Sao_Tome (Greenwich Mean Time)
    )

[168] => Array
    (
        [time] => +0:00
        [title] => Africa/Timbuktu
        [value] => (GMT+0:00) Africa/Timbuktu (Greenwich Mean Time)
    )

[169] => Array
    (
        [time] => +0:00
        [title] => America/Danmarkshavn
        [value] => (GMT+0:00) America/Danmarkshavn (Greenwich Mean Time)
    )

[170] => Array
    (
        [time] => +0:00
        [title] => Atlantic/Canary
        [value] => (GMT+0:00) Atlantic/Canary (Western European Time)
    )

[171] => Array
    (
        [time] => +0:00
        [title] => Atlantic/Faeroe
        [value] => (GMT+0:00) Atlantic/Faeroe (Western European Time)
    )

[172] => Array
    (
        [time] => +0:00
        [title] => Atlantic/Faroe
        [value] => (GMT+0:00) Atlantic/Faroe (Western European Time)
    )

[173] => Array
    (
        [time] => +0:00
        [title] => Atlantic/Madeira
        [value] => (GMT+0:00) Atlantic/Madeira (Western European Time)
    )

[174] => Array
    (
        [time] => +0:00
        [title] => Atlantic/Reykjavik
        [value] => (GMT+0:00) Atlantic/Reykjavik (Greenwich Mean Time)
    )

[175] => Array
    (
        [time] => +0:00
        [title] => Atlantic/St_Helena
        [value] => (GMT+0:00) Atlantic/St_Helena (Greenwich Mean Time)
    )

[176] => Array
    (
        [time] => +0:00
        [title] => Europe/Belfast
        [value] => (GMT+0:00) Europe/Belfast (Greenwich Mean Time)
    )

[177] => Array
    (
        [time] => +0:00
        [title] => Europe/Dublin
        [value] => (GMT+0:00) Europe/Dublin (Greenwich Mean Time)
    )

[178] => Array
    (
        [time] => +0:00
        [title] => Europe/Guernsey
        [value] => (GMT+0:00) Europe/Guernsey (Greenwich Mean Time)
    )

[179] => Array
    (
        [time] => +0:00
        [title] => Europe/Isle_of_Man
        [value] => (GMT+0:00) Europe/Isle_of_Man (Greenwich Mean Time)
    )

[180] => Array
    (
        [time] => +0:00
        [title] => Europe/Jersey
        [value] => (GMT+0:00) Europe/Jersey (Greenwich Mean Time)
    )

[181] => Array
    (
        [time] => +0:00
        [title] => Europe/Lisbon
        [value] => (GMT+0:00) Europe/Lisbon (Western European Time)
    )

[182] => Array
    (
        [time] => +0:00
        [title] => Europe/London
        [value] => (GMT+0:00) Europe/London (Greenwich Mean Time)
    )

[183] => Array
    (
        [time] => +1:00
        [title] => Africa/Algiers
        [value] => (GMT+1:00) Africa/Algiers (Central European Time)
    )

[184] => Array
    (
        [time] => +1:00
        [title] => Africa/Bangui
        [value] => (GMT+1:00) Africa/Bangui (Western African Time)
    )

[185] => Array
    (
        [time] => +1:00
        [title] => Africa/Brazzaville
        [value] => (GMT+1:00) Africa/Brazzaville (Western African Time)
    )

[186] => Array
    (
        [time] => +1:00
        [title] => Africa/Ceuta
        [value] => (GMT+1:00) Africa/Ceuta (Central European Time)
    )

[187] => Array
    (
        [time] => +1:00
        [title] => Africa/Douala
        [value] => (GMT+1:00) Africa/Douala (Western African Time)
    )

[188] => Array
    (
        [time] => +1:00
        [title] => Africa/Kinshasa
        [value] => (GMT+1:00) Africa/Kinshasa (Western African Time)
    )

[189] => Array
    (
        [time] => +1:00
        [title] => Africa/Lagos
        [value] => (GMT+1:00) Africa/Lagos (Western African Time)
    )

[190] => Array
    (
        [time] => +1:00
        [title] => Africa/Libreville
        [value] => (GMT+1:00) Africa/Libreville (Western African Time)
    )

[191] => Array
    (
        [time] => +1:00
        [title] => Africa/Luanda
        [value] => (GMT+1:00) Africa/Luanda (Western African Time)
    )

[192] => Array
    (
        [time] => +1:00
        [title] => Africa/Malabo
        [value] => (GMT+1:00) Africa/Malabo (Western African Time)
    )

[193] => Array
    (
        [time] => +1:00
        [title] => Africa/Ndjamena
        [value] => (GMT+1:00) Africa/Ndjamena (Western African Time)
    )

[194] => Array
    (
        [time] => +1:00
        [title] => Africa/Niamey
        [value] => (GMT+1:00) Africa/Niamey (Western African Time)
    )

[195] => Array
    (
        [time] => +1:00
        [title] => Africa/Porto-Novo
        [value] => (GMT+1:00) Africa/Porto-Novo (Western African Time)
    )

[196] => Array
    (
        [time] => +1:00
        [title] => Africa/Tunis
        [value] => (GMT+1:00) Africa/Tunis (Central European Time)
    )

[197] => Array
    (
        [time] => +1:00
        [title] => Africa/Windhoek
        [value] => (GMT+1:00) Africa/Windhoek (Western African Time)
    )

[198] => Array
    (
        [time] => +1:00
        [title] => Arctic/Longyearbyen
        [value] => (GMT+1:00) Arctic/Longyearbyen (Central European Time)
    )

[199] => Array
    (
        [time] => +1:00
        [title] => Atlantic/Jan_Mayen
        [value] => (GMT+1:00) Atlantic/Jan_Mayen (Central European Time)
    )

[200] => Array
    (
        [time] => +1:00
        [title] => Europe/Amsterdam
        [value] => (GMT+1:00) Europe/Amsterdam (Central European Time)
    )

[201] => Array
    (
        [time] => +1:00
        [title] => Europe/Andorra
        [value] => (GMT+1:00) Europe/Andorra (Central European Time)
    )

[202] => Array
    (
        [time] => +1:00
        [title] => Europe/Belgrade
        [value] => (GMT+1:00) Europe/Belgrade (Central European Time)
    )

[203] => Array
    (
        [time] => +1:00
        [title] => Europe/Berlin
        [value] => (GMT+1:00) Europe/Berlin (Central European Time)
    )

[204] => Array
    (
        [time] => +1:00
        [title] => Europe/Bratislava
        [value] => (GMT+1:00) Europe/Bratislava (Central European Time)
    )

[205] => Array
    (
        [time] => +1:00
        [title] => Europe/Brussels
        [value] => (GMT+1:00) Europe/Brussels (Central European Time)
    )

[206] => Array
    (
        [time] => +1:00
        [title] => Europe/Budapest
        [value] => (GMT+1:00) Europe/Budapest (Central European Time)
    )

[207] => Array
    (
        [time] => +1:00
        [title] => Europe/Copenhagen
        [value] => (GMT+1:00) Europe/Copenhagen (Central European Time)
    )

[208] => Array
    (
        [time] => +1:00
        [title] => Europe/Gibraltar
        [value] => (GMT+1:00) Europe/Gibraltar (Central European Time)
    )

[209] => Array
    (
        [time] => +1:00
        [title] => Europe/Ljubljana
        [value] => (GMT+1:00) Europe/Ljubljana (Central European Time)
    )

[210] => Array
    (
        [time] => +1:00
        [title] => Europe/Luxembourg
        [value] => (GMT+1:00) Europe/Luxembourg (Central European Time)
    )

[211] => Array
    (
        [time] => +1:00
        [title] => Europe/Madrid
        [value] => (GMT+1:00) Europe/Madrid (Central European Time)
    )

[212] => Array
    (
        [time] => +1:00
        [title] => Europe/Malta
        [value] => (GMT+1:00) Europe/Malta (Central European Time)
    )

[213] => Array
    (
        [time] => +1:00
        [title] => Europe/Monaco
        [value] => (GMT+1:00) Europe/Monaco (Central European Time)
    )

[214] => Array
    (
        [time] => +1:00
        [title] => Europe/Oslo
        [value] => (GMT+1:00) Europe/Oslo (Central European Time)
    )

[215] => Array
    (
        [time] => +1:00
        [title] => Europe/Paris
        [value] => (GMT+1:00) Europe/Paris (Central European Time)
    )

[216] => Array
    (
        [time] => +1:00
        [title] => Europe/Podgorica
        [value] => (GMT+1:00) Europe/Podgorica (Central European Time)
    )

[217] => Array
    (
        [time] => +1:00
        [title] => Europe/Prague
        [value] => (GMT+1:00) Europe/Prague (Central European Time)
    )

[218] => Array
    (
        [time] => +1:00
        [title] => Europe/Rome
        [value] => (GMT+1:00) Europe/Rome (Central European Time)
    )

[219] => Array
    (
        [time] => +1:00
        [title] => Europe/San_Marino
        [value] => (GMT+1:00) Europe/San_Marino (Central European Time)
    )

[220] => Array
    (
        [time] => +1:00
        [title] => Europe/Sarajevo
        [value] => (GMT+1:00) Europe/Sarajevo (Central European Time)
    )

[221] => Array
    (
        [time] => +1:00
        [title] => Europe/Skopje
        [value] => (GMT+1:00) Europe/Skopje (Central European Time)
    )

[222] => Array
    (
        [time] => +1:00
        [title] => Europe/Stockholm
        [value] => (GMT+1:00) Europe/Stockholm (Central European Time)
    )

[223] => Array
    (
        [time] => +1:00
        [title] => Europe/Tirane
        [value] => (GMT+1:00) Europe/Tirane (Central European Time)
    )

[224] => Array
    (
        [time] => +1:00
        [title] => Europe/Vaduz
        [value] => (GMT+1:00) Europe/Vaduz (Central European Time)
    )

[225] => Array
    (
        [time] => +1:00
        [title] => Europe/Vatican
        [value] => (GMT+1:00) Europe/Vatican (Central European Time)
    )

[226] => Array
    (
        [time] => +1:00
        [title] => Europe/Vienna
        [value] => (GMT+1:00) Europe/Vienna (Central European Time)
    )

[227] => Array
    (
        [time] => +1:00
        [title] => Europe/Warsaw
        [value] => (GMT+1:00) Europe/Warsaw (Central European Time)
    )

[228] => Array
    (
        [time] => +1:00
        [title] => Europe/Zagreb
        [value] => (GMT+1:00) Europe/Zagreb (Central European Time)
    )

[229] => Array
    (
        [time] => +1:00
        [title] => Europe/Zurich
        [value] => (GMT+1:00) Europe/Zurich (Central European Time)
    )

[230] => Array
    (
        [time] => +2:00
        [title] => Africa/Blantyre
        [value] => (GMT+2:00) Africa/Blantyre (Central African Time)
    )

[231] => Array
    (
        [time] => +2:00
        [title] => Africa/Bujumbura
        [value] => (GMT+2:00) Africa/Bujumbura (Central African Time)
    )

[232] => Array
    (
        [time] => +2:00
        [title] => Africa/Cairo
        [value] => (GMT+2:00) Africa/Cairo (Eastern European Time)
    )

[233] => Array
    (
        [time] => +2:00
        [title] => Africa/Gaborone
        [value] => (GMT+2:00) Africa/Gaborone (Central African Time)
    )

[234] => Array
    (
        [time] => +2:00
        [title] => Africa/Harare
        [value] => (GMT+2:00) Africa/Harare (Central African Time)
    )

[235] => Array
    (
        [time] => +2:00
        [title] => Africa/Johannesburg
        [value] => (GMT+2:00) Africa/Johannesburg (South Africa Standard Time)
    )

[236] => Array
    (
        [time] => +2:00
        [title] => Africa/Kigali
        [value] => (GMT+2:00) Africa/Kigali (Central African Time)
    )

[237] => Array
    (
        [time] => +2:00
        [title] => Africa/Lubumbashi
        [value] => (GMT+2:00) Africa/Lubumbashi (Central African Time)
    )

[238] => Array
    (
        [time] => +2:00
        [title] => Africa/Lusaka
        [value] => (GMT+2:00) Africa/Lusaka (Central African Time)
    )

[239] => Array
    (
        [time] => +2:00
        [title] => Africa/Maputo
        [value] => (GMT+2:00) Africa/Maputo (Central African Time)
    )

[240] => Array
    (
        [time] => +2:00
        [title] => Africa/Maseru
        [value] => (GMT+2:00) Africa/Maseru (South Africa Standard Time)
    )

[241] => Array
    (
        [time] => +2:00
        [title] => Africa/Mbabane
        [value] => (GMT+2:00) Africa/Mbabane (South Africa Standard Time)
    )

[242] => Array
    (
        [time] => +2:00
        [title] => Africa/Tripoli
        [value] => (GMT+2:00) Africa/Tripoli (Eastern European Time)
    )

[243] => Array
    (
        [time] => +2:00
        [title] => Asia/Amman
        [value] => (GMT+2:00) Asia/Amman (Eastern European Time)
    )

[244] => Array
    (
        [time] => +2:00
        [title] => Asia/Beirut
        [value] => (GMT+2:00) Asia/Beirut (Eastern European Time)
    )

[245] => Array
    (
        [time] => +2:00
        [title] => Asia/Damascus
        [value] => (GMT+2:00) Asia/Damascus (Eastern European Time)
    )

[246] => Array
    (
        [time] => +2:00
        [title] => Asia/Gaza
        [value] => (GMT+2:00) Asia/Gaza (Eastern European Time)
    )

[247] => Array
    (
        [time] => +2:00
        [title] => Asia/Istanbul
        [value] => (GMT+2:00) Asia/Istanbul (Eastern European Time)
    )

[248] => Array
    (
        [time] => +2:00
        [title] => Asia/Jerusalem
        [value] => (GMT+2:00) Asia/Jerusalem (Israel Standard Time)
    )

[249] => Array
    (
        [time] => +2:00
        [title] => Asia/Nicosia
        [value] => (GMT+2:00) Asia/Nicosia (Eastern European Time)
    )

[250] => Array
    (
        [time] => +2:00
        [title] => Asia/Tel_Aviv
        [value] => (GMT+2:00) Asia/Tel_Aviv (Israel Standard Time)
    )

[251] => Array
    (
        [time] => +2:00
        [title] => Europe/Athens
        [value] => (GMT+2:00) Europe/Athens (Eastern European Time)
    )

[252] => Array
    (
        [time] => +2:00
        [title] => Europe/Bucharest
        [value] => (GMT+2:00) Europe/Bucharest (Eastern European Time)
    )

[253] => Array
    (
        [time] => +2:00
        [title] => Europe/Chisinau
        [value] => (GMT+2:00) Europe/Chisinau (Eastern European Time)
    )

[254] => Array
    (
        [time] => +2:00
        [title] => Europe/Helsinki
        [value] => (GMT+2:00) Europe/Helsinki (Eastern European Time)
    )

[255] => Array
    (
        [time] => +2:00
        [title] => Europe/Istanbul
        [value] => (GMT+2:00) Europe/Istanbul (Eastern European Time)
    )

[256] => Array
    (
        [time] => +2:00
        [title] => Europe/Kaliningrad
        [value] => (GMT+2:00) Europe/Kaliningrad (Eastern European Time)
    )

[257] => Array
    (
        [time] => +2:00
        [title] => Europe/Kiev
        [value] => (GMT+2:00) Europe/Kiev (Eastern European Time)
    )

[258] => Array
    (
        [time] => +2:00
        [title] => Europe/Mariehamn
        [value] => (GMT+2:00) Europe/Mariehamn (Eastern European Time)
    )

[259] => Array
    (
        [time] => +2:00
        [title] => Europe/Minsk
        [value] => (GMT+2:00) Europe/Minsk (Eastern European Time)
    )

[260] => Array
    (
        [time] => +2:00
        [title] => Europe/Nicosia
        [value] => (GMT+2:00) Europe/Nicosia (Eastern European Time)
    )

[261] => Array
    (
        [time] => +2:00
        [title] => Europe/Riga
        [value] => (GMT+2:00) Europe/Riga (Eastern European Time)
    )

[262] => Array
    (
        [time] => +2:00
        [title] => Europe/Simferopol
        [value] => (GMT+2:00) Europe/Simferopol (Eastern European Time)
    )

[263] => Array
    (
        [time] => +2:00
        [title] => Europe/Sofia
        [value] => (GMT+2:00) Europe/Sofia (Eastern European Time)
    )

[264] => Array
    (
        [time] => +2:00
        [title] => Europe/Tallinn
        [value] => (GMT+2:00) Europe/Tallinn (Eastern European Time)
    )

[265] => Array
    (
        [time] => +2:00
        [title] => Europe/Tiraspol
        [value] => (GMT+2:00) Europe/Tiraspol (Eastern European Time)
    )

[266] => Array
    (
        [time] => +2:00
        [title] => Europe/Uzhgorod
        [value] => (GMT+2:00) Europe/Uzhgorod (Eastern European Time)
    )

[267] => Array
    (
        [time] => +2:00
        [title] => Europe/Vilnius
        [value] => (GMT+2:00) Europe/Vilnius (Eastern European Time)
    )

[268] => Array
    (
        [time] => +2:00
        [title] => Europe/Zaporozhye
        [value] => (GMT+2:00) Europe/Zaporozhye (Eastern European Time)
    )

[269] => Array
    (
        [time] => +3:00
        [title] => Africa/Addis_Ababa
        [value] => (GMT+3:00) Africa/Addis_Ababa (Eastern African Time)
    )

[270] => Array
    (
        [time] => +3:00
        [title] => Africa/Asmara
        [value] => (GMT+3:00) Africa/Asmara (Eastern African Time)
    )

[271] => Array
    (
        [time] => +3:00
        [title] => Africa/Asmera
        [value] => (GMT+3:00) Africa/Asmera (Eastern African Time)
    )

[272] => Array
    (
        [time] => +3:00
        [title] => Africa/Dar_es_Salaam
        [value] => (GMT+3:00) Africa/Dar_es_Salaam (Eastern African Time)
    )

[273] => Array
    (
        [time] => +3:00
        [title] => Africa/Djibouti
        [value] => (GMT+3:00) Africa/Djibouti (Eastern African Time)
    )

[274] => Array
    (
        [time] => +3:00
        [title] => Africa/Kampala
        [value] => (GMT+3:00) Africa/Kampala (Eastern African Time)
    )

[275] => Array
    (
        [time] => +3:00
        [title] => Africa/Khartoum
        [value] => (GMT+3:00) Africa/Khartoum (Eastern African Time)
    )

[276] => Array
    (
        [time] => +3:00
        [title] => Africa/Mogadishu
        [value] => (GMT+3:00) Africa/Mogadishu (Eastern African Time)
    )

[277] => Array
    (
        [time] => +3:00
        [title] => Africa/Nairobi
        [value] => (GMT+3:00) Africa/Nairobi (Eastern African Time)
    )

[278] => Array
    (
        [time] => +3:00
        [title] => Antarctica/Syowa
        [value] => (GMT+3:00) Antarctica/Syowa (Syowa Time)
    )

[279] => Array
    (
        [time] => +3:00
        [title] => Asia/Aden
        [value] => (GMT+3:00) Asia/Aden (Arabia Standard Time)
    )

[280] => Array
    (
        [time] => +3:00
        [title] => Asia/Baghdad
        [value] => (GMT+3:00) Asia/Baghdad (Arabia Standard Time)
    )

[281] => Array
    (
        [time] => +3:00
        [title] => Asia/Bahrain
        [value] => (GMT+3:00) Asia/Bahrain (Arabia Standard Time)
    )

[282] => Array
    (
        [time] => +3:00
        [title] => Asia/Kuwait
        [value] => (GMT+3:00) Asia/Kuwait (Arabia Standard Time)
    )

[283] => Array
    (
        [time] => +3:00
        [title] => Asia/Qatar
        [value] => (GMT+3:00) Asia/Qatar (Arabia Standard Time)
    )

[284] => Array
    (
        [time] => +3:00
        [title] => Europe/Moscow
        [value] => (GMT+3:00) Europe/Moscow (Moscow Standard Time)
    )

[285] => Array
    (
        [time] => +3:00
        [title] => Europe/Volgograd
        [value] => (GMT+3:00) Europe/Volgograd (Volgograd Time)
    )

[286] => Array
    (
        [time] => +3:00
        [title] => Indian/Antananarivo
        [value] => (GMT+3:00) Indian/Antananarivo (Eastern African Time)
    )

[287] => Array
    (
        [time] => +3:00
        [title] => Indian/Comoro
        [value] => (GMT+3:00) Indian/Comoro (Eastern African Time)
    )

[288] => Array
    (
        [time] => +3:00
        [title] => Indian/Mayotte
        [value] => (GMT+3:00) Indian/Mayotte (Eastern African Time)
    )

[289] => Array
    (
        [time] => +3:30
        [title] => Asia/Tehran
        [value] => (GMT+3:30) Asia/Tehran (Iran Standard Time)
    )

[290] => Array
    (
        [time] => +4:00
        [title] => Asia/Baku
        [value] => (GMT+4:00) Asia/Baku (Azerbaijan Time)
    )

[291] => Array
    (
        [time] => +4:00
        [title] => Asia/Dubai
        [value] => (GMT+4:00) Asia/Dubai (Gulf Standard Time)
    )

[292] => Array
    (
        [time] => +4:00
        [title] => Asia/Muscat
        [value] => (GMT+4:00) Asia/Muscat (Gulf Standard Time)
    )

[293] => Array
    (
        [time] => +4:00
        [title] => Asia/Tbilisi
        [value] => (GMT+4:00) Asia/Tbilisi (Georgia Time)
    )

[294] => Array
    (
        [time] => +4:00
        [title] => Asia/Yerevan
        [value] => (GMT+4:00) Asia/Yerevan (Armenia Time)
    )

[295] => Array
    (
        [time] => +4:00
        [title] => Europe/Samara
        [value] => (GMT+4:00) Europe/Samara (Samara Time)
    )

[296] => Array
    (
        [time] => +4:00
        [title] => Indian/Mahe
        [value] => (GMT+4:00) Indian/Mahe (Seychelles Time)
    )

[297] => Array
    (
        [time] => +4:00
        [title] => Indian/Mauritius
        [value] => (GMT+4:00) Indian/Mauritius (Mauritius Time)
    )

[298] => Array
    (
        [time] => +4:00
        [title] => Indian/Reunion
        [value] => (GMT+4:00) Indian/Reunion (Reunion Time)
    )

[299] => Array
    (
        [time] => +4:30
        [title] => Asia/Kabul
        [value] => (GMT+4:30) Asia/Kabul (Afghanistan Time)
    )

[300] => Array
    (
        [time] => +5:00
        [title] => Asia/Aqtau
        [value] => (GMT+5:00) Asia/Aqtau (Aqtau Time)
    )

[301] => Array
    (
        [time] => +5:00
        [title] => Asia/Aqtobe
        [value] => (GMT+5:00) Asia/Aqtobe (Aqtobe Time)
    )

[302] => Array
    (
        [time] => +5:00
        [title] => Asia/Ashgabat
        [value] => (GMT+5:00) Asia/Ashgabat (Turkmenistan Time)
    )

[303] => Array
    (
        [time] => +5:00
        [title] => Asia/Ashkhabad
        [value] => (GMT+5:00) Asia/Ashkhabad (Turkmenistan Time)
    )

[304] => Array
    (
        [time] => +5:00
        [title] => Asia/Dushanbe
        [value] => (GMT+5:00) Asia/Dushanbe (Tajikistan Time)
    )

[305] => Array
    (
        [time] => +5:00
        [title] => Asia/Karachi
        [value] => (GMT+5:00) Asia/Karachi (Pakistan Time)
    )

[306] => Array
    (
        [time] => +5:00
        [title] => Asia/Oral
        [value] => (GMT+5:00) Asia/Oral (Oral Time)
    )

[307] => Array
    (
        [time] => +5:00
        [title] => Asia/Samarkand
        [value] => (GMT+5:00) Asia/Samarkand (Uzbekistan Time)
    )

[308] => Array
    (
        [time] => +5:00
        [title] => Asia/Tashkent
        [value] => (GMT+5:00) Asia/Tashkent (Uzbekistan Time)
    )

[309] => Array
    (
        [time] => +5:00
        [title] => Asia/Yekaterinburg
        [value] => (GMT+5:00) Asia/Yekaterinburg (Yekaterinburg Time)
    )

[310] => Array
    (
        [time] => +5:00
        [title] => Indian/Kerguelen
        [value] => (GMT+5:00) Indian/Kerguelen (French Southern & Antarctic Lands Time)
    )

[311] => Array
    (
        [time] => +5:00
        [title] => Indian/Maldives
        [value] => (GMT+5:00) Indian/Maldives (Maldives Time)
    )

[312] => Array
    (
        [time] => +5:30
        [title] => Asia/Calcutta
        [value] => (GMT+5:30) Asia/Calcutta (India Standard Time)
    )

[313] => Array
    (
        [time] => +5:30
        [title] => Asia/Colombo
        [value] => (GMT+5:30) Asia/Colombo (India Standard Time)
    )

[314] => Array
    (
        [time] => +5:30
        [title] => Asia/Kolkata
        [value] => (GMT+5:30) Asia/Kolkata (India Standard Time)
    )

[315] => Array
    (
        [time] => +5:45
        [title] => Asia/Katmandu
        [value] => (GMT+5:45) Asia/Katmandu (Nepal Time)
    )

[316] => Array
    (
        [time] => +6:00
        [title] => Antarctica/Mawson
        [value] => (GMT+6:00) Antarctica/Mawson (Mawson Time)
    )

[317] => Array
    (
        [time] => +6:00
        [title] => Antarctica/Vostok
        [value] => (GMT+6:00) Antarctica/Vostok (Vostok Time)
    )

[318] => Array
    (
        [time] => +6:00
        [title] => Asia/Almaty
        [value] => (GMT+6:00) Asia/Almaty (Alma-Ata Time)
    )

[319] => Array
    (
        [time] => +6:00
        [title] => Asia/Bishkek
        [value] => (GMT+6:00) Asia/Bishkek (Kirgizstan Time)
    )

[320] => Array
    (
        [time] => +6:00
        [title] => Asia/Dacca
        [value] => (GMT+6:00) Asia/Dacca (Bangladesh Time)
    )

[321] => Array
    (
        [time] => +6:00
        [title] => Asia/Dhaka
        [value] => (GMT+6:00) Asia/Dhaka (Bangladesh Time)
    )

[322] => Array
    (
        [time] => +6:00
        [title] => Asia/Novosibirsk
        [value] => (GMT+6:00) Asia/Novosibirsk (Novosibirsk Time)
    )

[323] => Array
    (
        [time] => +6:00
        [title] => Asia/Omsk
        [value] => (GMT+6:00) Asia/Omsk (Omsk Time)
    )

[324] => Array
    (
        [time] => +6:00
        [title] => Asia/Qyzylorda
        [value] => (GMT+6:00) Asia/Qyzylorda (Qyzylorda Time)
    )

[325] => Array
    (
        [time] => +6:00
        [title] => Asia/Thimbu
        [value] => (GMT+6:00) Asia/Thimbu (Bhutan Time)
    )

[326] => Array
    (
        [time] => +6:00
        [title] => Asia/Thimphu
        [value] => (GMT+6:00) Asia/Thimphu (Bhutan Time)
    )

[327] => Array
    (
        [time] => +6:00
        [title] => Indian/Chagos
        [value] => (GMT+6:00) Indian/Chagos (Indian Ocean Territory Time)
    )

[328] => Array
    (
        [time] => +6:30
        [title] => Asia/Rangoon
        [value] => (GMT+6:30) Asia/Rangoon (Myanmar Time)
    )

[329] => Array
    (
        [time] => +6:30
        [title] => Indian/Cocos
        [value] => (GMT+6:30) Indian/Cocos (Cocos Islands Time)
    )

[330] => Array
    (
        [time] => +7:00
        [title] => Antarctica/Davis
        [value] => (GMT+7:00) Antarctica/Davis (Davis Time)
    )

[331] => Array
    (
        [time] => +7:00
        [title] => Asia/Bangkok
        [value] => (GMT+7:00) Asia/Bangkok (Indochina Time)
    )

[332] => Array
    (
        [time] => +7:00
        [title] => Asia/Ho_Chi_Minh
        [value] => (GMT+7:00) Asia/Ho_Chi_Minh (Indochina Time)
    )

[333] => Array
    (
        [time] => +7:00
        [title] => Asia/Hovd
        [value] => (GMT+7:00) Asia/Hovd (Hovd Time)
    )

[334] => Array
    (
        [time] => +7:00
        [title] => Asia/Jakarta
        [value] => (GMT+7:00) Asia/Jakarta (West Indonesia Time)
    )

[335] => Array
    (
        [time] => +7:00
        [title] => Asia/Krasnoyarsk
        [value] => (GMT+7:00) Asia/Krasnoyarsk (Krasnoyarsk Time)
    )

[336] => Array
    (
        [time] => +7:00
        [title] => Asia/Phnom_Penh
        [value] => (GMT+7:00) Asia/Phnom_Penh (Indochina Time)
    )

[337] => Array
    (
        [time] => +7:00
        [title] => Asia/Pontianak
        [value] => (GMT+7:00) Asia/Pontianak (West Indonesia Time)
    )

[338] => Array
    (
        [time] => +7:00
        [title] => Asia/Saigon
        [value] => (GMT+7:00) Asia/Saigon (Indochina Time)
    )

[339] => Array
    (
        [time] => +7:00
        [title] => Asia/Vientiane
        [value] => (GMT+7:00) Asia/Vientiane (Indochina Time)
    )

[340] => Array
    (
        [time] => +7:00
        [title] => Indian/Christmas
        [value] => (GMT+7:00) Indian/Christmas (Christmas Island Time)
    )

[341] => Array
    (
        [time] => +8:00
        [title] => Antarctica/Casey
        [value] => (GMT+8:00) Antarctica/Casey (Western Standard Time (Australia))
    )

[342] => Array
    (
        [time] => +8:00
        [title] => Asia/Brunei
        [value] => (GMT+8:00) Asia/Brunei (Brunei Time)
    )

[343] => Array
    (
        [time] => +8:00
        [title] => Asia/Choibalsan
        [value] => (GMT+8:00) Asia/Choibalsan (Choibalsan Time)
    )

[344] => Array
    (
        [time] => +8:00
        [title] => Asia/Chongqing
        [value] => (GMT+8:00) Asia/Chongqing (China Standard Time)
    )

[345] => Array
    (
        [time] => +8:00
        [title] => Asia/Chungking
        [value] => (GMT+8:00) Asia/Chungking (China Standard Time)
    )

[346] => Array
    (
        [time] => +8:00
        [title] => Asia/Harbin
        [value] => (GMT+8:00) Asia/Harbin (China Standard Time)
    )

[347] => Array
    (
        [time] => +8:00
        [title] => Asia/Hong_Kong
        [value] => (GMT+8:00) Asia/Hong_Kong (Hong Kong Time)
    )

[348] => Array
    (
        [time] => +8:00
        [title] => Asia/Irkutsk
        [value] => (GMT+8:00) Asia/Irkutsk (Irkutsk Time)
    )

[349] => Array
    (
        [time] => +8:00
        [title] => Asia/Kashgar
        [value] => (GMT+8:00) Asia/Kashgar (China Standard Time)
    )

[350] => Array
    (
        [time] => +8:00
        [title] => Asia/Kuala_Lumpur
        [value] => (GMT+8:00) Asia/Kuala_Lumpur (Malaysia Time)
    )

[351] => Array
    (
        [time] => +8:00
        [title] => Asia/Kuching
        [value] => (GMT+8:00) Asia/Kuching (Malaysia Time)
    )

[352] => Array
    (
        [time] => +8:00
        [title] => Asia/Macao
        [value] => (GMT+8:00) Asia/Macao (China Standard Time)
    )

[353] => Array
    (
        [time] => +8:00
        [title] => Asia/Macau
        [value] => (GMT+8:00) Asia/Macau (China Standard Time)
    )

[354] => Array
    (
        [time] => +8:00
        [title] => Asia/Makassar
        [value] => (GMT+8:00) Asia/Makassar (Central Indonesia Time)
    )

[355] => Array
    (
        [time] => +8:00
        [title] => Asia/Manila
        [value] => (GMT+8:00) Asia/Manila (Philippines Time)
    )

[356] => Array
    (
        [time] => +8:00
        [title] => Asia/Shanghai
        [value] => (GMT+8:00) Asia/Shanghai (China Standard Time)
    )

[357] => Array
    (
        [time] => +8:00
        [title] => Asia/Singapore
        [value] => (GMT+8:00) Asia/Singapore (Singapore Time)
    )

[358] => Array
    (
        [time] => +8:00
        [title] => Asia/Taipei
        [value] => (GMT+8:00) Asia/Taipei (China Standard Time)
    )

[359] => Array
    (
        [time] => +8:00
        [title] => Asia/Ujung_Pandang
        [value] => (GMT+8:00) Asia/Ujung_Pandang (Central Indonesia Time)
    )

[360] => Array
    (
        [time] => +8:00
        [title] => Asia/Ulaanbaatar
        [value] => (GMT+8:00) Asia/Ulaanbaatar (Ulaanbaatar Time)
    )

[361] => Array
    (
        [time] => +8:00
        [title] => Asia/Ulan_Bator
        [value] => (GMT+8:00) Asia/Ulan_Bator (Ulaanbaatar Time)
    )

[362] => Array
    (
        [time] => +8:00
        [title] => Asia/Urumqi
        [value] => (GMT+8:00) Asia/Urumqi (China Standard Time)
    )

[363] => Array
    (
        [time] => +8:00
        [title] => Australia/Perth
        [value] => (GMT+8:00) Australia/Perth (Western Standard Time (Australia))
    )

[364] => Array
    (
        [time] => +8:00
        [title] => Australia/West
        [value] => (GMT+8:00) Australia/West (Western Standard Time (Australia))
    )

[365] => Array
    (
        [time] => +8:45
        [title] => Australia/Eucla
        [value] => (GMT+8:45) Australia/Eucla (Central Western Standard Time (Australia))
    )

[366] => Array
    (
        [time] => +9:00
        [title] => Asia/Dili
        [value] => (GMT+9:00) Asia/Dili (Timor-Leste Time)
    )

[367] => Array
    (
        [time] => +9:00
        [title] => Asia/Jayapura
        [value] => (GMT+9:00) Asia/Jayapura (East Indonesia Time)
    )

[368] => Array
    (
        [time] => +9:00
        [title] => Asia/Pyongyang
        [value] => (GMT+9:00) Asia/Pyongyang (Korea Standard Time)
    )

[369] => Array
    (
        [time] => +9:00
        [title] => Asia/Seoul
        [value] => (GMT+9:00) Asia/Seoul (Korea Standard Time)
    )

[370] => Array
    (
        [time] => +9:00
        [title] => Asia/Tokyo
        [value] => (GMT+9:00) Asia/Tokyo (Japan Standard Time)
    )

[371] => Array
    (
        [time] => +9:00
        [title] => Asia/Yakutsk
        [value] => (GMT+9:00) Asia/Yakutsk (Yakutsk Time)
    )

[372] => Array
    (
        [time] => +9:30
        [title] => Australia/Adelaide
        [value] => (GMT+9:30) Australia/Adelaide (Central Standard Time (South Australia))
    )

[373] => Array
    (
        [time] => +9:30
        [title] => Australia/Broken_Hill
        [value] => (GMT+9:30) Australia/Broken_Hill (Central Standard Time (South Australia/New South Wales))
    )

[374] => Array
    (
        [time] => +9:30
        [title] => Australia/Darwin
        [value] => (GMT+9:30) Australia/Darwin (Central Standard Time (Northern Territory))
    )

[375] => Array
    (
        [time] => +9:30
        [title] => Australia/North
        [value] => (GMT+9:30) Australia/North (Central Standard Time (Northern Territory))
    )

[376] => Array
    (
        [time] => +9:30
        [title] => Australia/South
        [value] => (GMT+9:30) Australia/South (Central Standard Time (South Australia))
    )

[377] => Array
    (
        [time] => +9:30
        [title] => Australia/Yancowinna
        [value] => (GMT+9:30) Australia/Yancowinna (Central Standard Time (South Australia/New South Wales))
    )

[378] => Array
    (
        [time] => +10:00
        [title] => Antarctica/DumontDUrville
        [value] => (GMT+10:00) Antarctica/DumontDUrville (Dumont-d'Urville Time)
    )

[379] => Array
    (
        [time] => +10:00
        [title] => Asia/Sakhalin
        [value] => (GMT+10:00) Asia/Sakhalin (Sakhalin Time)
    )

[380] => Array
    (
        [time] => +10:00
        [title] => Asia/Vladivostok
        [value] => (GMT+10:00) Asia/Vladivostok (Vladivostok Time)
    )

[381] => Array
    (
        [time] => +10:00
        [title] => Australia/ACT
        [value] => (GMT+10:00) Australia/ACT (Eastern Standard Time (New South Wales))
    )

[382] => Array
    (
        [time] => +10:00
        [title] => Australia/Brisbane
        [value] => (GMT+10:00) Australia/Brisbane (Eastern Standard Time (Queensland))
    )

[383] => Array
    (
        [time] => +10:00
        [title] => Australia/Canberra
        [value] => (GMT+10:00) Australia/Canberra (Eastern Standard Time (New South Wales))
    )

[384] => Array
    (
        [time] => +10:00
        [title] => Australia/Currie
        [value] => (GMT+10:00) Australia/Currie (Eastern Standard Time (New South Wales))
    )

[385] => Array
    (
        [time] => +10:00
        [title] => Australia/Hobart
        [value] => (GMT+10:00) Australia/Hobart (Eastern Standard Time (Tasmania))
    )

[386] => Array
    (
        [time] => +10:00
        [title] => Australia/Lindeman
        [value] => (GMT+10:00) Australia/Lindeman (Eastern Standard Time (Queensland))
    )

[387] => Array
    (
        [time] => +10:00
        [title] => Australia/Melbourne
        [value] => (GMT+10:00) Australia/Melbourne (Eastern Standard Time (Victoria))
    )

[388] => Array
    (
        [time] => +10:00
        [title] => Australia/NSW
        [value] => (GMT+10:00) Australia/NSW (Eastern Standard Time (New South Wales))
    )

[389] => Array
    (
        [time] => +10:00
        [title] => Australia/Queensland
        [value] => (GMT+10:00) Australia/Queensland (Eastern Standard Time (Queensland))
    )

[390] => Array
    (
        [time] => +10:00
        [title] => Australia/Sydney
        [value] => (GMT+10:00) Australia/Sydney (Eastern Standard Time (New South Wales))
    )

[391] => Array
    (
        [time] => +10:00
        [title] => Australia/Tasmania
        [value] => (GMT+10:00) Australia/Tasmania (Eastern Standard Time (Tasmania))
    )

[392] => Array
    (
        [time] => +10:00
        [title] => Australia/Victoria
        [value] => (GMT+10:00) Australia/Victoria (Eastern Standard Time (Victoria))
    )

[393] => Array
    (
        [time] => +10:30
        [title] => Australia/LHI
        [value] => (GMT+10:30) Australia/LHI (Lord Howe Standard Time)
    )

[394] => Array
    (
        [time] => +10:30
        [title] => Australia/Lord_Howe
        [value] => (GMT+10:30) Australia/Lord_Howe (Lord Howe Standard Time)
    )

[395] => Array
    (
        [time] => +11:00
        [title] => Asia/Magadan
        [value] => (GMT+11:00) Asia/Magadan (Magadan Time)
    )

[396] => Array
    (
        [time] => +12:00
        [title] => Antarctica/McMurdo
        [value] => (GMT+12:00) Antarctica/McMurdo (New Zealand Standard Time)
    )

[397] => Array
    (
        [time] => +12:00
        [title] => Antarctica/South_Pole
        [value] => (GMT+12:00) Antarctica/South_Pole (New Zealand Standard Time)
    )

[398] => Array
    (
        [time] => +12:00
        [title] => Asia/Anadyr
        [value] => (GMT+12:00) Asia/Anadyr (Anadyr Time)
    )

[399] => Array
    (
        [time] => +12:00
        [title] => Asia/Kamchatka
        [value] => (GMT+12:00) Asia/Kamchatka (Petropavlovsk-Kamchatski Time)
    )

)

@waqaschughtai
Copy link

waqaschughtai commented Jun 26, 2021

Shorter Version array helpful for For the Wordpress plugins etc
$timezone = array(
'Pacific/Midway'=>'(GMT-11:00) Midway Island, Samoa',
'America/Adak'=>'(GMT-10:00) Hawaii-Aleutian',
'Etc/GMT+10'=>'(GMT-10:00) Hawaii',
'Pacific/Marquesas'=>'(GMT-09:30) Marquesas Islands',
'Pacific/Gambier'=>'(GMT-09:00) Gambier Islands',
'America/Anchorage'=>'(GMT-09:00) Alaska',
'America/Ensenada'=>'(GMT-08:00) Tijuana, Baja California',
'Etc/GMT+8'=>'(GMT-08:00) Pitcairn Islands',
'America/Los_Angeles'=>'(GMT-08:00) Pacific Time (US & Canada)',
'America/Denver'=>'(GMT-07:00) Mountain Time (US & Canada)',
'America/Chihuahua'=>'(GMT-07:00) Chihuahua, La Paz, Mazatlan',
'America/Dawson_Creek'=>'(GMT-07:00) Arizona',
'America/Belize'=>'(GMT-06:00) Saskatchewan, Central America',
'America/Cancun'=>'(GMT-06:00) Guadalajara, Mexico City, Monterrey',
'Chile/EasterIsland'=>'(GMT-06:00) Easter Island',
'America/Chicago'=>'(GMT-06:00) Central Time (US & Canada)',
'America/New_York'=>'(GMT-05:00) Eastern Time (US & Canada)',
'America/Havana'=>'(GMT-05:00) Cuba',
'America/Bogota'=>'(GMT-05:00) Bogota, Lima, Quito, Rio Branco',
'America/Caracas'=>'(GMT-04:30) Caracas',
'America/Santiago'=>'(GMT-04:00) Santiago',
'America/La_Paz'=>'(GMT-04:00) La Paz',
'Atlantic/Stanley'=>'(GMT-04:00) Faukland Islands',
'America/Campo_Grande'=>'(GMT-04:00) Brazil',
'America/Goose_Bay'=>'(GMT-04:00) Atlantic Time (Goose Bay)',
'America/Glace_Bay'=>'(GMT-04:00) Atlantic Time (Canada)',
'America/St_Johns'=>'(GMT-03:30) Newfoundland',
'America/Araguaina'=>'(GMT-03:00) UTC-3',
'America/Montevideo'=>'(GMT-03:00) Montevideo',
'America/Miquelon'=>'(GMT-03:00) Miquelon, St. Pierre',
'America/Godthab'=>'(GMT-03:00) Greenland',
'America/Argentina/Buenos_Aires'=>'(GMT-03:00) Buenos Aires',
'America/Sao_Paulo'=>'(GMT-03:00) Brasilia',
'America/Noronha'=>'(GMT-02:00) Mid-Atlantic',
'Atlantic/Cape_Verde'=>'(GMT-01:00) Cape Verde Is.',
'Atlantic/Azores'=>'(GMT-01:00) Azores',
'Europe/Belfast'=>'(GMT) Greenwich Mean Time : Belfast',
'Europe/Dublin'=>'(GMT) Greenwich Mean Time : Dublin',
'Europe/Lisbon'=>'(GMT) Greenwich Mean Time : Lisbon',
'Europe/London'=>'(GMT) Greenwich Mean Time : London',
'Africa/Abidjan'=>'(GMT) Monrovia, Reykjavik',
'Europe/Amsterdam'=>'(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna',
'Europe/Belgrade'=>'(GMT+01:00)Belgrade, Bratislava, Budapest, Ljubljana, Prague',
'Europe/Brussels'=>'(GMT+01:00) Brussels, Copenhagen, Madrid, Paris',
'Africa/Algiers'=>'(GMT+01:00) West Central Africa',
'Africa/Windhoek'=>'(GMT+01:00) Windhoek',
'Asia/Beirut'=>'(GMT+02:00) Beirut',
'Africa/Cairo'=>'(GMT+02:00) Cairo',
'Asia/Gaza'=>'(GMT+02:00) Gaza',
'Africa/Blantyre'=>'(GMT+02:00) Harare, Pretoria',
'Asia/Jerusalem'=>'(GMT+02:00) Jerusalem',
'Europe/Helsinki'=>'(GMT+02:00) Helsinki',
'Europe/Minsk'=>'(GMT+02:00) Minsk',
'Asia/Damascus'=>'(GMT+02:00) Syria',
'Europe/Moscow'=>'(GMT+03:00) Moscow, St. Petersburg, Volgograd',
'Africa/Addis_Ababa'=>'(GMT+03:00) Nairobi',
'Asia/Tehran'=>'(GMT+03:30) Tehran',
'Asia/Dubai'=>'(GMT+04:00) Abu Dhabi, Muscat',
'Asia/Yerevan'=>'(GMT+04:00) Yerevan',
'Asia/Kabul'=>'(GMT+04:30) Kabul',
'Asia/Yekaterinburg'=>'(GMT+05:00) Ekaterinburg',
'Asia/Tashkent'=>'(GMT+05:00) Tashkent',
'Asia/Kolkata'=>'(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi',
'Asia/Katmandu'=>'(GMT+05:45) Kathmandu',
'Asia/Dhaka'=>'(GMT+06:00) Astana, Dhaka',
'Asia/Novosibirsk'=>'(GMT+06:00) Novosibirsk',
'Asia/Rangoon'=>'(GMT+06:30) Yangon (Rangoon)',
'Asia/Bangkok'=>'(GMT+07:00) Bangkok, Hanoi, Jakarta',
'Asia/Krasnoyarsk'=>'(GMT+07:00) Krasnoyarsk',
'Asia/Hong_Kong'=>'(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi',
'Asia/Irkutsk'=>'(GMT+08:00) Irkutsk, Ulaan Bataar',
'Australia/Perth'=>'(GMT+08:00) Perth',
'Australia/Eucla'=>'(GMT+08:45) Eucla',
'Asia/Tokyo'=>'(GMT+09:00) Osaka, Sapporo, Tokyo',
'Asia/Seoul'=>'(GMT+09:00) Seoul',
'Asia/Yakutsk'=>'(GMT+09:00) Yakutsk',
'Australia/Adelaide'=>'(GMT+09:30) Adelaide',
'Australia/Darwin'=>'(GMT+09:30) Darwin',
'Australia/Brisbane'=>'(GMT+10:00) Brisbane',
'Australia/Hobart'=>'(GMT+10:00) Hobart',
'Asia/Vladivostok'=>'(GMT+10:00) Vladivostok',
'Australia/Lord_Howe'=>'(GMT+10:30) Lord Howe Island',
'Etc/GMT-11'=>'(GMT+11:00) Solomon Is., New Caledonia',
'Asia/Magadan'=>'(GMT+11:00) Magadan',
'Pacific/Norfolk'=>'(GMT+11:30) Norfolk Island',
'Asia/Anadyr'=>'(GMT+12:00) Anadyr, Kamchatka',
'Pacific/Auckland'=>'(GMT+12:00) Auckland, Wellington',
'Etc/GMT-12'=>'(GMT+12:00) Fiji, Kamchatka, Marshall Is.',
'Pacific/Chatham'=>'(GMT+12:45) Chatham Islands',
'Pacific/Tongatapu'=>'(GMT+13:00) Nuku'alofa',
'Pacific/Kiritimati'=>'(GMT+14:00) Kiritimati',
);

@StefanCiobanu1989
Copy link

thank you for this !

@MichaelNZ85
Copy link

Thank you! Can you please put a licence on this? MIT is a good one if you're not sure.

@pavellauko
Copy link
Author

MIT Licence was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment