ntptime, how to determine offset hours #11270
-
Using this version: Is there someway to determine offset hours without a previous call to ntptime()? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
OK, I see in this implementation: |
Beta Was this translation helpful? Give feedback.
-
A more complex method is to use google geocode and timezone APIs. The former will resolve a location to a lat/long pair from which the latter can produce the timezone, and the current UTC and DST offsets. Needs HTTPS client and JSON parsing modules. |
Beta Was this translation helpful? Give feedback.
A more complex method is to use google geocode and timezone APIs. The former will resolve a location to a lat/long pair from which the latter can produce the timezone, and the current UTC and DST offsets. Needs HTTPS client and JSON parsing modules.