In my script (PHP), I use the tz database label for each location in my database: http://en.wikipedia.org/wiki/Tz_database
I am entering a whole series of places (countries, provinces, states, cities, etc.) from around the world, and for each, I have found it very difficult to know which label from the IANA Time Zone Database to use.
Searching the location on wikipedia gives me the time offset (UTC+n) and the timezone abbreviation (EST, etc.) but neither helps in knowing which entry to use in the tz database.
E.g.:
Washington DC uses, as best as I could figure out, 'America/New_york'.
Dallas, TX uses 'America/Chicago' (unless I'm mistaken!)
There is a small African country for which neither its capital city nor its largest city were in the tz database. Which tz entry to use?
There must be a database somewhere, or a resource which clearly links every location on earth (country, state, province, city, etc.) to a specific entry in the tz database. Where can I find it?
The best I have found so far is this:
http://twiki.org/cgi-bin/xtra/tzdatepick.html but it only has cities.
E.g. it lists Paris, but it doesn't list France. If a whole country is included within a single timezone (e.g. any city in France would be listed under Europe/Paris) then I'd like to know it.
There is no listing for Idaho (which is split between two zones) and neither for Moscow, Idaho.
I am using the following sources for the US: http://en.wikipedia.org/wiki/List_of_U.S._states_by_time_zone but a lot of guesswork is needed for any state and city.
This list is barely usable but the best I've got so far:
http://en.wikipedia.org/wiki/List_of_tz_database_time_zones Mocow, Idaho?
Fort Wayne, Indiana?
Hard to tell from the above list when we don't personally know the said locations.