Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ruby time zones
Europe - Andorra
Asia - Dubai
Asia - Kabul
America - Antigua
America - Anguilla
Europe - Tirane
Asia - Yerevan
Africa - Luanda
Antarctica - McMurdo
Antarctica - Casey
Antarctica - Davis
Antarctica - Dumont D'Urville
Antarctica - Mawson
Antarctica - Palmer
Antarctica - Rothera
Antarctica - Syowa
Antarctica - Troll
Antarctica - Vostok
America - Buenos Aires, Argentina
America - Cordoba, Argentina
America - Salta, Argentina
America - Jujuy, Argentina
America - Tucuman, Argentina
America - Catamarca, Argentina
America - La Rioja, Argentina
America - San Juan, Argentina
America - Mendoza, Argentina
America - San Luis, Argentina
America - Rio Gallegos, Argentina
America - Ushuaia, Argentina
Pacific - Pago Pago
Europe - Vienna
Australia - Lord Howe
Antarctica - Macquarie
Australia - Hobart
Australia - Currie
Australia - Melbourne
Australia - Sydney
Australia - Broken Hill
Australia - Brisbane
Australia - Lindeman
Australia - Adelaide
Australia - Darwin
Australia - Perth
Australia - Eucla
America - Aruba
Europe - Mariehamn
Asia - Baku
Europe - Sarajevo
America - Barbados
Asia - Dhaka
Europe - Brussels
Africa - Ouagadougou
Europe - Sofia
Asia - Bahrain
Africa - Bujumbura
Africa - Porto-Novo
America - St Barthelemy
Atlantic - Bermuda
Asia - Brunei
America - La Paz
America - Kralendijk
America - Noronha
America - Belem
America - Fortaleza
America - Recife
America - Araguaina
America - Maceio
America - Bahia
America - Sao Paulo
America - Campo Grande
America - Cuiaba
America - Santarem
America - Porto Velho
America - Boa Vista
America - Manaus
America - Eirunepe
America - Rio Branco
America - Nassau
Asia - Thimphu
Africa - Gaborone
Europe - Minsk
America - Belize
America - St Johns
America - Halifax
America - Glace Bay
America - Moncton
America - Goose Bay
America - Blanc-Sablon
America - Toronto
America - Nipigon
America - Thunder Bay
America - Iqaluit
America - Pangnirtung
America - Atikokan
America - Winnipeg
America - Rainy River
America - Resolute
America - Rankin Inlet
America - Regina
America - Swift Current
America - Edmonton
America - Cambridge Bay
America - Yellowknife
America - Inuvik
America - Creston
America - Dawson Creek
America - Fort Nelson
America - Vancouver
America - Whitehorse
America - Dawson
Indian - Cocos
Africa - Kinshasa
Africa - Lubumbashi
Africa - Bangui
Africa - Brazzaville
Europe - Zurich
Africa - Abidjan
Pacific - Rarotonga
America - Santiago
Pacific - Easter
Africa - Douala
Asia - Shanghai
Asia - Urumqi
America - Bogota
America - Costa Rica
America - Havana
Atlantic - Cape Verde
America - Curacao
Indian - Christmas
Asia - Nicosia
Europe - Prague
Europe - Berlin
Europe - Busingen
Africa - Djibouti
Europe - Copenhagen
America - Dominica
America - Santo Domingo
Africa - Algiers
America - Guayaquil
Pacific - Galapagos
Europe - Tallinn
Africa - Cairo
Africa - El Aaiun
Africa - Asmara
Europe - Madrid
Africa - Ceuta
Atlantic - Canary
Africa - Addis Ababa
Europe - Helsinki
Pacific - Fiji
Atlantic - Stanley
Pacific - Chuuk
Pacific - Pohnpei
Pacific - Kosrae
Atlantic - Faroe
Europe - Paris
Africa - Libreville
Europe - London
America - Grenada
Asia - Tbilisi
America - Cayenne
Europe - Guernsey
Africa - Accra
Europe - Gibraltar
America - Godthab
America - Danmarkshavn
America - Scoresbysund
America - Thule
Africa - Banjul
Africa - Conakry
America - Guadeloupe
Africa - Malabo
Europe - Athens
Atlantic - South Georgia
America - Guatemala
Pacific - Guam
Africa - Bissau
America - Guyana
Asia - Hong Kong
America - Tegucigalpa
Europe - Zagreb
America - Port-au-Prince
Europe - Budapest
Asia - Jakarta
Asia - Pontianak
Asia - Makassar
Asia - Jayapura
Europe - Dublin
Asia - Jerusalem
Europe - Isle of Man
Asia - Kolkata
Indian - Chagos
Asia - Baghdad
Asia - Tehran
Atlantic - Reykjavik
Europe - Rome
Europe - Jersey
America - Jamaica
Asia - Amman
Asia - Tokyo
Africa - Nairobi
Asia - Bishkek
Asia - Phnom Penh
Pacific - Tarawa
Pacific - Enderbury
Pacific - Kiritimati
Indian - Comoro
America - St Kitts
Asia - Pyongyang
Asia - Seoul
Asia - Kuwait
America - Cayman
Asia - Almaty
Asia - Qyzylorda
Asia - Aqtobe
Asia - Aqtau
Asia - Oral
Asia - Vientiane
Asia - Beirut
America - St Lucia
Europe - Vaduz
Asia - Colombo
Africa - Monrovia
Africa - Maseru
Europe - Vilnius
Europe - Luxembourg
Europe - Riga
Africa - Tripoli
Africa - Casablanca
Europe - Monaco
Europe - Chisinau
Europe - Podgorica
America - Marigot
Indian - Antananarivo
Pacific - Majuro
Pacific - Kwajalein
Europe - Skopje
Africa - Bamako
Asia - Yangon
Asia - Ulaanbaatar
Asia - Hovd
Asia - Choibalsan
Asia - Macau
Pacific - Saipan
America - Martinique
Africa - Nouakchott
America - Montserrat
Europe - Malta
Indian - Mauritius
Indian - Maldives
Africa - Blantyre
America - Mexico City
America - Cancun
America - Merida
America - Monterrey
America - Matamoros
America - Mazatlan
America - Chihuahua
America - Ojinaga
America - Hermosillo
America - Tijuana
America - Bahia Banderas
Asia - Kuala Lumpur
Asia - Kuching
Africa - Maputo
Africa - Windhoek
Pacific - Noumea
Africa - Niamey
Pacific - Norfolk
Africa - Lagos
America - Managua
Europe - Amsterdam
Europe - Oslo
Asia - Kathmandu
Pacific - Nauru
Pacific - Niue
Pacific - Auckland
Pacific - Chatham
Asia - Muscat
America - Panama
America - Lima
Pacific - Tahiti
Pacific - Marquesas
Pacific - Gambier
Pacific - Port Moresby
Pacific - Bougainville
Asia - Manila
Asia - Karachi
Europe - Warsaw
America - Miquelon
Pacific - Pitcairn
America - Puerto Rico
Asia - Gaza
Asia - Hebron
Europe - Lisbon
Atlantic - Madeira
Atlantic - Azores
Pacific - Palau
America - Asuncion
Asia - Qatar
Indian - Reunion
Europe - Bucharest
Europe - Belgrade
Europe - Kaliningrad
Europe - Moscow
Europe - Simferopol
Europe - Volgograd
Europe - Kirov
Europe - Astrakhan
Europe - Samara
Europe - Ulyanovsk
Asia - Yekaterinburg
Asia - Omsk
Asia - Novosibirsk
Asia - Barnaul
Asia - Tomsk
Asia - Novokuznetsk
Asia - Krasnoyarsk
Asia - Irkutsk
Asia - Chita
Asia - Yakutsk
Asia - Khandyga
Asia - Vladivostok
Asia - Ust-Nera
Asia - Magadan
Asia - Sakhalin
Asia - Srednekolymsk
Asia - Kamchatka
Asia - Anadyr
Africa - Kigali
Asia - Riyadh
Pacific - Guadalcanal
Indian - Mahe
Africa - Khartoum
Europe - Stockholm
Asia - Singapore
Atlantic - St Helena
Europe - Ljubljana
Arctic - Longyearbyen
Europe - Bratislava
Africa - Freetown
Europe - San Marino
Africa - Dakar
Africa - Mogadishu
America - Paramaribo
Africa - Juba
Africa - Sao Tome
America - El Salvador
America - Lower Princes
Asia - Damascus
Africa - Mbabane
America - Grand Turk
Africa - Ndjamena
Indian - Kerguelen
Africa - Lome
Asia - Bangkok
Asia - Dushanbe
Pacific - Fakaofo
Asia - Dili
Asia - Ashgabat
Africa - Tunis
Pacific - Tongatapu
Europe - Istanbul
America - Port of Spain
Pacific - Funafuti
Asia - Taipei
Africa - Dar es Salaam
Europe - Kiev
Europe - Uzhgorod
Europe - Zaporozhye
Africa - Kampala
Pacific - Johnston
Pacific - Midway
Pacific - Wake
America - New York
America - Detroit
America - Louisville, Kentucky
America - Monticello, Kentucky
America - Indianapolis, Indiana
America - Vincennes, Indiana
America - Winamac, Indiana
America - Marengo, Indiana
America - Petersburg, Indiana
America - Vevay, Indiana
America - Chicago
America - Tell City, Indiana
America - Knox, Indiana
America - Menominee
America - Center, North Dakota
America - New Salem, North Dakota
America - Beulah, North Dakota
America - Denver
America - Boise
America - Phoenix
America - Los Angeles
America - Anchorage
America - Juneau
America - Sitka
America - Metlakatla
America - Yakutat
America - Nome
America - Adak
Pacific - Honolulu
America - Montevideo
Asia - Samarkand
Asia - Tashkent
Europe - Vatican
America - St Vincent
America - Caracas
America - Tortola
America - St Thomas
Asia - Ho Chi Minh
Pacific - Efate
Pacific - Wallis
Pacific - Apia
Asia - Aden
Indian - Mayotte
Africa - Johannesburg
Africa - Lusaka
Africa - Harare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.