i've got a text file that lists 596 cities (example)
it lists city name, current UTC offset, then (again) city name, state (if applicable), and country.
how can i match these cities up to the appropriate timezone?
Ankara, 2, Ankara - Turkey
Antananarivo, 3, Antananarivo - Madagascar
Asuncion, -3, Asuncion - Paraguay
Auckland, 13, Auckland - New Zealand
Augusta, -5, Augusta - Maine - U.S.A.
Austin, -6, Austin - Texas - U.S.A.
Atlanta, -5, Atlanta - Georgia - U.S.A.
Athens, 2, Athens - Greece
Baghdad, 3, Baghdad - Iraq
Bangkok, 7, Bangkok - Thailand
Bamako, 0, Bamako - Mali
Banjul, 0, Banjul - Gambia
Barcelona, 1, Barcelona - Spain
Baton Rouge, -6, Baton Rouge - Louisiana - U.S.A.
Beijing, 8, Beijing - China
Beirut, 2, Beirut - Lebanon
Belgrade, 1, Belgrade - Serbia
Belmopan, -6, Belmopan - Belize
it lists city name, current UTC offset, then (again) city name, state (if applicable), and country.
how can i match these cities up to the appropriate timezone?