Is there a good way to get Timezone information with DST information from a lat/long coordinate or a physical address?
I've found some web services that seem to offer this service, but I can't tell how reliable they might be, or if they might disappear at some point. I need something for my application that will be around long term.
Are these services reliable and long-term? Are there other, better options?
Access the Time Zone API through an HTTPS interface, with requests constructed as a URL string, using latitude/longitude coordinates to specify the location , a timestamp to specify the date, and your API key. The below query performs a time zone request for Nevada, USA.
The Time Zone API uses a pay-as-you-go pricing model. Requests for the Time Zone are billed under the SKU for Time Zone. Along with the overall Google Terms of Use, there are usage limits specific to the Time Zone API.
Here's how longitude converts into your personal time zone: 15 degrees of longitude = 1 hour difference; 1 degree longitude = 4 minutes difference. 15 minutes of longitude = 1 minute difference; 1 minute of longitude = 4 seconds difference.
positionstack - Free Address Geocoding & Maps API.
The answer in this other question is a great solution to this question - Determine timezone from latitude/longitude without using web services like Geonames.org
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With