Return to Snippet

Revision: 14486
at June 5, 2009 07:47 by iloveitaly


Initial Code
global $timezoneTable;
$timezoneTable = array(
	"-12" => "(GMT -12:00) Eniwetok, Kwajalein",
	"-11" => "(GMT -11:00) Midway Island, Samoa",
	"-10" => "(GMT -10:00) Hawaii",
	"-9" => "(GMT -9:00) Alaska",
	"-8" => "(GMT -8:00) Pacific Time (US & Canada)",
	"-7" => "(GMT -7:00) Mountain Time (US & Canada)",
	"-6" => "(GMT -6:00) Central Time (US & Canada), Mexico City",
	"-5" => "(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima",
	"-4" => "(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz",
	"-3.5" => "(GMT -3:30) Newfoundland",
	"-3" => "(GMT -3:00) Brazil, Buenos Aires, Georgetown",
	"-2" => "(GMT -2:00) Mid-Atlantic",
	"-1" => "(GMT -1:00 hour) Azores, Cape Verde Islands",
	"0" => "(GMT) Western Europe Time, London, Lisbon, Casablanca",
	"1" => "(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris",
	"2" => "(GMT +2:00) Kaliningrad, South Africa",
	"3" => "(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg",
	"3.5" => "(GMT +3:30) Tehran",
	"4" => "(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi",
	"4.5" => "(GMT +4:30) Kabul",
	"5" => "(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent",
	"5.5" => "(GMT +5:30) Bombay, Calcutta, Madras, New Delhi",
	"6" => "(GMT +6:00) Almaty, Dhaka, Colombo",
	"7" => "(GMT +7:00) Bangkok, Hanoi, Jakarta",
	"8" => "(GMT +8:00) Beijing, Perth, Singapore, Hong Kong",
	"9" => "(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk",
	"9.5" => "(GMT +9:30) Adelaide, Darwin",
	"10" => "(GMT +10:00) Eastern Australia, Guam, Vladivostok",
	"11" => "(GMT +11:00) Magadan, Solomon Islands, New Caledonia",
	"12" => "(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka"
);

Initial URL

                                

Initial Description

                                

Initial Title
PHP TimeZone Array

Initial Tags
php, list, array

Initial Language
PHP