On 2020-11-29 16:37, Paul Eggert wrote:
On 11/29/20 1:53 PM, Joseph Ernest via tz wrote:
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 ?
Country code + region code won't suffice, since time zone boundaries do not always respect region boundaries.
If you start with geolocation instead, you'll have better luck. See:
And there are municipalities on political and time zone boundaries where they just pick one of the adjacent zones for pragmatic reasons. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]