Created
August 21, 2012 15:29
-
-
Save andredublin/3416586 to your computer and use it in GitHub Desktop.
list of gmt timezones in different languages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| GMT Timezones | |
|-------------------------------------------------------------------------- | |
| | |
| List GMT Timezones | |
*/ | |
************ PHP ************ | |
$timezones = 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' | |
); | |
echo $timezones['-12']; | |
************ RUBY ************ | |
timezones = { | |
'-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' | |
} | |
puts timezones['-12'] | |
************ JAVASCRIPT ************ | |
var timezones = {} | |
timezones['-12'] = '(GMT -12:00) Eniwetok, Kwajalein'; | |
timezones['-11'] = '(GMT -11:00) Midway Island, Samoa'; | |
timezones['-10'] = '(GMT -10:00) Hawaii'; | |
timezones['-9'] = '(GMT -9:00) Alaska'; | |
timezones['-8'] = '(GMT -8:00) Pacific Time (US & Canada)'; | |
timezones['-7'] = '(GMT -7:00) Mountain Time (US & Canada)'; | |
timezones['-6'] = '(GMT -6:00) Central Time (US & Canada), Mexico City'; | |
timezones['-5'] = '(GMT -5:00) Eastern Time (US & Canada), Bogota, Lima'; | |
timezones['-4'] = '(GMT -4:00) Atlantic Time (Canada), Caracas, La Paz'; | |
timezones['-3.5'] = '(GMT -3:30) Newfoundland'; | |
timezones['-3'] = '(GMT -3:00) Brazil, Buenos Aires, Georgetown'; | |
timezones['-2'] = '(GMT -2:00) Mid-Atlantic'; | |
timezones['-1'] = '(GMT -1:00 hour) Azores, Cape Verde Islands'; | |
timezones['0'] = '(GMT) Western Europe Time, London, Lisbon, Casablanca'; | |
timezones['1'] = '(GMT +1:00 hour) Brussels, Copenhagen, Madrid, Paris'; | |
timezones['2'] = '(GMT +2:00) Kaliningrad, South Africa'; | |
timezones['3'] = '(GMT +3:00) Baghdad, Riyadh, Moscow, St. Petersburg'; | |
timezones['3.5'] = '(GMT +3:30) Tehran'; | |
timezones['4'] = '(GMT +4:00) Abu Dhabi, Muscat, Baku, Tbilisi'; | |
timezones['4.5'] = '(GMT +4:30) Kabul'; | |
timezones['5'] = '(GMT +5:00) Ekaterinburg, Islamabad, Karachi, Tashkent'; | |
timezones['5.5'] = '(GMT +5:30) Bombay, Calcutta, Madras, New Delhi'; | |
timezones['6'] = '(GMT +6:00) Almaty, Dhaka, Colombo'; | |
timezones['7'] = '(GMT +7:00) Bangkok, Hanoi, Jakarta'; | |
timezones['8'] = '(GMT +8:00) Beijing, Perth, Singapore, Hong Kong'; | |
timezones['9'] = '(GMT +9:00) Tokyo, Seoul, Osaka, Sapporo, Yakutsk'; | |
timezones['9.5'] = '(GMT +9:30) Adelaide, Darwin'; | |
timezones['10'] = '(GMT +10:00) Eastern Australia, Guam, Vladivostok'; | |
timezones['11'] = '(GMT +11:00) Magadan, Solomon Islands, New Caledonia'; | |
timezones['12'] = '(GMT +12:00) Auckland, Wellington, Fiji, Kamchatka'; | |
alert(timezones['-12']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment