> Earlier this year I had to write a function to find the current local time given a US address.
I also did something similar earlier this year, though I used a geolocation service to translate address to lat/long coords, and then used lat/long to translate to timezone. (With shortcuts single-timezone states)
I ended up using this python library for lat/long -> timezone converstion:
I also did something similar earlier this year, though I used a geolocation service to translate address to lat/long coords, and then used lat/long to translate to timezone. (With shortcuts single-timezone states)
I ended up using this python library for lat/long -> timezone converstion:
https://github.com/jannikmi/timezonefinder
Which sources its data from here, which seems like a pretty high quality source:
https://github.com/evansiroky/timezone-boundary-builder/rele...