Countries and Timezones

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everybody,

For those who are interested in Countries and timezones.

I needed to have the list of all the countries in the world and the timezones by country without redundancy.

I think the list is correct but if I made mistakes, please let me know. Here is the array (or here : http://www.surleweb.biz/development.php)

<?php
$countries = array(
"Afghanistan","Asia/Kabul",
"Albania","Europe/Tirane",
"Algeria","Africa/Algiers",
"American Samoa","Pacific/Pago_Pago",
"Andorra","Europe/Andorra",
"Angola","Africa/Luanda",
"Anguilla","America/Anguilla",
"Antarctica, Adelaide Island","Antarctica/Rothera",
"Antarctica, Anvers Island","Antarctica/Palmer",
"Antarctica, Bailey Peninsula","Antarctica/Casey",
"Antarctica, Dumont-d'Urville","Antarctica/DumontDUrville",
"Antarctica, Holme Bay","Antarctica/Mawson",
"Antarctica, Kerguelen","Indian/Kerguelen",
"Antarctica, Ongul Island","Antarctica/Syowa",
"Antarctica, Ross Island","Antarctica/McMurdo",
"Antarctica, Vestfold Hills","Antarctica/Davis",
"Antarctica, Wilkes Land","Antarctica/Vostok",
"Antigua and Barbuda","America/Antigua",
"Argentina, Buenos Aires","America/Buenos_Aires",
"Armenia","Asia/Yerevan",
"Aruba","America/Aruba",
"Australia, Adelaide","Australia/Adelaide",
"Australia, Eucla","Australia/Eucla",
"Australia, Lord Howe Island","Australia/Lord_Howe",
"Australia, Perth","Australia/Perth",
"Australia, Sydney","Australia/Sydney",
"Austria","Europe/Vienna",
"Azerbaijan","Asia/Baku",
"Bahamas","America/Nassau",
"Bahrain","Asia/Bahrain",
"Bangladesh","Asia/Dhaka",
"Barbados","America/Barbados",
"Belarus","Europe/Minsk",
"Belgium","Europe/Brussels",
"Belize","America/Belize",
"Benin","Africa/Porto-Novo",
"Bermuda","Atlantic/Bermuda",
"Bhutan","Asia/Thimphu",
"Bolivia","America/La_Paz",
"Bosnia and Herzegowina","Europe/Sarajevo",
"Botswana","Africa/Gaborone",
"Brazil, Boa Vista","America/Boa_Vista",
"Brazil, Noronha","America/Noronha",
"Brazil, Rio Branco","America/Rio_Branco",
"Brazil, Sao Paulo","America/Sao_Paulo",
"British Indian Ocean Territory","Indian/Chagos",
"Brunei Darussalam","Asia/Brunei",
"Bulgaria","Europe/Sofia",
"Burkina Faso","Africa/Ouagadougou",
"Burundi","Africa/Bujumbura",
"Cambodia","Asia/Phnom_Penh",
"Cameroon","Africa/Douala",
"Canada, Edmonton","America/Edmonton",
"Canada, Halifax","America/Halifax",
"Canada, Montreal","America/Montreal",
"Canada, Saint John's","America/St_Johns",
"Canada, Vancouver","America/Vancouver",
"Canada, Winnipeg","America/Winnipeg",
"Cape Verde","Atlantic/Cape_Verde",
"Cayman Islands","America/Cayman",
"Central African Republic","Africa/Bangui",
"Chad","Africa/Ndjamena",
"Chile","America/Santiago",
"Chile, Easter","Pacific/Easter",
"China (People's Republic of)","Asia/Shanghai",
"Christmas Island (Territory of)","Indian/Christmas",
"Cocos (Keeling) Islands","Indian/Cocos",
"Colombia","America/Bogota",
"Comoros","Indian/Comoro",
"Congo (Democratic Republic of), Kinshasa","Africa/Kinshasa",
"Congo (Democratic Republic of), Lubumbashi","Africa/Lubumbashi",
"Cook Islands","Pacific/Rarotonga",
"Costa Rica","America/Costa_Rica",
"Côte d'Ivoire","Africa/Abidjan",
"Croatia","Europe/Zagreb",
"Cuba","America/Havana",
"Cyprus","Asia/Nicosia",
"Czech Republic","Europe/Prague",
"Denmark","Europe/Copenhagen",
"Djibouti","Africa/Djibouti",
"Dominica","America/Dominica",
"Dominican Republic","America/Santo_Domingo",
"East Timor","Asia/Dili",
"Ecuador","America/Guayaquil",
"Ecuador, Galapagos Islands","Pacific/Galapagos",
"Egypt","Africa/Cairo",
"El Salvador","America/El_Salvador",
"Equatorial Guinea","Africa/Malabo",
"Eritrea","Africa/Asmara",
"Estonia","Europe/Tallinn",
"Ethiopia","Africa/Addis_Ababa",
"Falkland Islands","Atlantic/Stanley",
"Faroe Islands","Atlantic/Faroe",
"Fiji Islands","Pacific/Fiji",
"Finland","Europe/Helsinki",
"France","Europe/Paris",
"France, French Guiana","America/Cayenne",
"France, French Polynesia, Gambier","Pacific/Gambier",
"France, French Polynesia, Marquesas","Pacific/Marquesas",
"France, French Polynesia, Tahiti","Pacific/Tahiti",
"France, French West Indies","America/Guadeloupe",
"France, Mayotte","Indian/Mayotte",
"France, New Caledonia","Pacific/Noumea",
"France, Reunion","Indian/Reunion",
"France, Saint Pierre and Miquelon","America/Miquelon",
"France, Wallis and Futuna","Pacific/Wallis",
"Gabon","Africa/Libreville",
"Gambia","Africa/Banjul",
"Georgia","Asia/Tbilisi",
"Germany","Europe/Berlin",
"Ghana","Africa/Accra",
"Gibraltar","Europe/Gibraltar",
"Greece","Europe/Athens",
"Greenland, Danmarkshavn","America/Danmarkshavn",
"Greenland, Godthab","America/Godthab",
"Greenland, Scoresbysund","America/Scoresbysund",
"Greenland, Thule","America/Thule",
"Grenada","America/Grenada",
"Guam","Pacific/Guam",
"Guatemala","America/Guatemala",
"Guinea","Africa/Conakry",
"Guinea-Bissau","Africa/Bissau",
"Guyana","America/Guyana",
"Haiti","America/Port-au-Prince",
"Honduras","America/Tegucigalpa",
"Hong Kong","Asia/Hong_Kong",
"Hungary","Europe/Budapest",
"Iceland","Atlantic/Reykjavik",
"India","Asia/Calcutta",
"Indonesia, Jakarta","Asia/Jakarta",
"Indonesia, Jayapura","Asia/Jayapura",
"Indonesia, Makassar","Asia/Makassar",
"Iran (Islamic Republic of)","Asia/Tehran",
"Iraq","Asia/Baghdad",
"Ireland","Europe/Dublin",
"Israel","Asia/Jerusalem",
"Italy","Europe/Rome",
"Jamaica","America/Jamaica",
"Japan","Asia/Tokyo",
"Jordan","Asia/Amman",
"Kazakhstan, East","Asia/Almaty",
"Kazakhstan, West","Asia/Aqtobe",
"Kenya","Africa/Nairobi",
"Kiribati, Gilbert Islands","Pacific/Tarawa",
"Kiribati, Line Islands","Pacific/Kiritimati",
"Kiribati, Phoenix Islands","Pacific/Enderbury",
"Korea (Democratic Peoples Republic of)","Asia/Seoul",
"Korea (Republic of)","Asia/Seoul",
"Kuwait","Asia/Kuwait",
"Kyrgyzstan","Asia/Bishkek",
"Laos","Asia/Vientiane",
"Latvia","Europe/Riga",
"Lebanon","Asia/Beirut",
"Lesotho","Africa/Maseru",
"Liberia","Africa/Monrovia",
"Libya","Africa/Tripoli",
"Liechtenstein","Europe/Vaduz",
"Lithuania","Europe/Vilnius",
"Luxembourg","Europe/Luxembourg",
"Macau","Asia/Macau",
"Macedonia (Republic of)","Europe/Skopje",
"Madagascar","Indian/Antananarivo",
"Malawi","Africa/Blantyre",
"Malaysia","Asia/Kuala_Lumpur",
"Maldives","Indian/Maldives",
"Mali","Africa/Bamako",
"Malta","Europe/Malta",
"Marshall Islands","Pacific/Kwajalein",
"Mauritania","Africa/Nouakchott",
"Mauritius","Indian/Mauritius",
"Mexico, Chihuahua","America/Chihuahua",
"Mexico, Mexico City","Mexico_City",
"Mexico, Tijuana","America/Tijuana",
"Micronesia, Kosrae","Pacific/Kosrae",
"Micronesia, Yap","Pacific/Yap",
"Moldova (Republic of)","Europe/Chisinau",
"Monaco","Europe/Monaco",
"Mongolia, Choibalsan","Asia/Choibalsan",
"Mongolia, Hovd","Asia/Hovd",
"Mongolia, Ulaanbaatar","Asia/Ulaanbaatar",
"Montenegro","Europe/Podgorica",
"Montserrat","America/Montserrat",
"Morocco","Africa/Casablanca",
"Mozambique","Africa/Maputo",
"Myanmar","Asia/Rangoon",
"Namibia","Africa/Windhoek",
"Nauru","Pacific/Nauru",
"Nepal","Asia/Katmandu",
"Netherlands Antilles, Curacao","America/Curacao",
"Netherlands","Europe/Amsterdam",
"New Zealand, Auckland","Pacific/Auckland",
"New Zealand, Chatham","Pacific/Chatham",
"Nicaragua","America/Managua",
"Niger","Africa/Niamey",
"Nigeria","Africa/Lagos",
"Niue","Pacific/Niue",
"Norfolk Island","Pacific/Norfolk",
"Northern Ireland","Europe/Belfast",
"Northern Mariana Islands","Pacific/Saipan",
"Norway","Europe/Oslo",
"Oman","Asia/Muscat",
"Pakistan","Asia/Karachi",
"Palau","Pacific/Palau",
"Panama","America/Panama",
"Papua New Guinea","Pacific/Port_Moresby",
"Paraguay","America/Asuncion",
"Peru","America/Lima",
"Philippines","Asia/Manila",
"Pitcairn","Pacific/Pitcairn",
"Poland","Europe/Warsaw",
"Portugal","Europe/Lisbon",
"Portugal, Azores","Atlantic/Azores",
"Puerto Rico","America/Puerto_Rico",
"Qatar","Asia/Qatar",
"Romania","Europe/Bucharest",
"Russian Federation, Irkutsk","Asia/Irkutsk",
"Russian Federation, Kaliningrad","Europe/Kaliningrad",
"Russian Federation, Kamchatka","Asia/Kamchatka",
"Russian Federation, Krasnoyarsk","Asia/Krasnoyarsk",
"Russian Federation, Magadan","Asia/Magadan",
"Russian Federation, Moscow","Europe/Moscow",
"Russian Federation, Novosibirsk","Asia/Novosibirsk",
"Russian Federation, Samara","Europe/Samara",
"Russian Federation, Vladivostok","Asia/Vladivostok",
"Russian Federation, Yakutsk","Asia/Yakutsk",
"Russian Federation, Yekaterinburg","Asia/Yekaterinburg",
"Rwanda","Africa/Kigali",
"Saint Helena","Atlantic/St_Helena",
"Saint Kitts and Nevis","America/St_Kitts",
"Saint Lucia","America/St_Lucia",
"Saint Vincent and the Grenadines","America/St_Vincent",
"Samoa","Pacific/Apia",
"San Marino","Europe/San_Marino",
"Sao Tome and Principe","Africa/Sao_Tome",
"Saudi Arabia","Asia/Riyadh",
"Senegal","Africa/Dakar",
"Serbia","Europe/Belgrade",
"Seychelles","Indian/Mahe",
"Sierra Leone","Africa/Freetown",
"Singapore","Asia/Singapore",
"Slovakia","Europe/Bratislava",
"Slovenia","Europe/Ljubljana",
"Solomon Islands","Pacific/Guadalcanal",
"Somalia","Africa/Mogadishu",
"South Africa","Africa/Johannesburg",
"South Georgia and the South Sandwich Islands","Atlantic/South_Georgia",
"Spain","Europe/Madrid",
"Spain, Canary Islands","Atlantic/Canary",
"Sri Lanka","Asia/Colombo",
"Sudan","Africa/Khartoum",
"Suriname","America/Paramaribo",
"Svalbard and Jan Mayen Islands","Europe/Oslo",
"Swaziland","Africa/Mbabane",
"Sweden","Europe/Stockholm",
"Switzerland","Europe/Zurich",
"Syrian Arab Republic","Asia/Damascus",
"Taiwan","Asia/Taipei",
"Tajikistan","Asia/Dushanbe",
"Tanzania (United Republic of)","Africa/Dar_es_Salaam",
"Thailand","Asia/Bangkok",
"Togo","Africa/Lome",
"Tokelau Islands","Pacific/Fakaofo",
"Tonga","Pacific/Tongatapu",
"Trinidad and Tobago","America/Port_of_Spain",
"Tunisia","Africa/Tunis",
"Turkey","Europe/Istanbul",
"Turkmenistan","Asia/Ashgabat",
"Turks and Caicos Islands","America/Grand_Turk",
"Tuvalu","Pacific/Funafuti",
"Uganda","Africa/Kampala",
"Ukraine, Kiev","Europe/Kiev",
"Ukraine, Simferopol","Europe/Simferopol",
"United Arab Emirates","Asia/Dubai",
"United Kingdom","Europe/London",
"United States Minor Outlying Islands, Johnston","Pacific/Johnston",
"United States Minor Outlying Islands, Midway","Pacific/Midway",
"United States Minor Outlying Islands, Wake Island","Pacific/Wake",
"United States, Alaska (Adak)","America/Adak",
"United States, Alaska","America/Anchorage",
"United States, Central time","America/Chicago",
"United States, Eastern time","America/New_York",
"United States, Hawaii","Pacific/Honolulu",
"United States, Mountain time","America/Denver",
"United States, Pacific time","America/Los_Angeles",
"Uruguay","America/Montevideo",
"Uzbekistan","Asia/Samarkand",
"Vanuatu","Pacific/Efate",
"Vatican City State","Europe/Vatican",
"Venezuela","America/Caracas",
"Vietnam (Socialist Republic of)","Asia/Saigon",
"Virgin Islands (British)","America/Tortola",
"Virgin Islands (U.S.)","America/St_Thomas",
"Western Sahara","Africa/El_Aaiun",
"Yemen","Asia/Aden",
"Zambia","Africa/Lusaka",
"Zimbabwe","Africa/Harare") ;
?>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux