[tz] Converting from individual cities/states/country names to Windows time zone names

Alan Barrett apb at cequrux.com
Mon Dec 5 12:16:29 UTC 2011


On Mon, 05 Dec 2011, Daniel White wrote:
> So maybe there's a database which maps all the places of the 
> world to TZID, and then I would use a two-step process instead 
> of one.

Perhaps the "zone.tab" file distributed as part of tzdata would be 
useful.

You could search for the country code in the first column, or 
search for nearby latitude/longitude in the second column, or 
both, and then display a menu of a few likely choices.

--apb (Alan Barrett)



More information about the tz mailing list