Last active
February 5, 2023 02:47
-
-
Save amalgjose/4c8d1cfe01c76df6b2de6ab5aa9c5b38 to your computer and use it in GitHub Desktop.
Python program to find the Timezone information from latitude and longitude (geo coordinate). For more details visit https://amalgjose.com/2020/05/17/python-program-to-find-the-timezone-from-latitude-and-longitude/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from timezonefinder import TimezoneFinder | |
t_find = TimezoneFinder() | |
# Provide the latitude | |
latitude = 54.743 | |
# Provide the longitude | |
longitude = 15.492 | |
timezone_info = t_find.timezone_at(lng=longitude, lat=latitude) | |
print(timezone_info) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment