How to get a time zone from a location using latitude and longitude coordinates?

后端 未结 17 1545
走了就别回头了
走了就别回头了 2020-11-21 04:38

Given the latitude and longitude of a location, how does one know what time zone is in effect in that location?

In most cases, we are looking for an IANA/Olson time z

17条回答
  •  死守一世寂寞
    2020-11-21 05:03

    How about this solution for node.js https://github.com/mattbornski/tzwhere

    And its Python counterpart: https://github.com/pegler/pytzwhere

提交回复
热议问题