[tz] From (ISO3166-1 alpha2 + ISO3166-2) country+region code to timezone?

Joseph Ernest joseph1ernest at yahoo.fr
Sun Nov 29 21:53:41 UTC 2020

How is it possible to get the timezone for a specific datetime and a (ISO3166-1 alpha2, ISO3166-2) pair, i.e. a country code + region code ? 
Example: ISO3166 -> TimezoneDE-BE -> Europe/Berlin
AU-TAS -> Australia/Hobart or Australia/Tasmania
US-NY -> America/NewYork
Thank you in advance,Jo
PS: I have seen the file "iso3166.tab" but this is only for country codes, i.e. the first part of ISO3166.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20201129/97e026f4/attachment.html>

More information about the tz mailing list