Figure out time by latitude/longitude?

前端 未结 5 555
别跟我提以往
别跟我提以往 2020-12-10 00:13

Here\'s the deal. I have a latitude/longitude set of a location. I need to figure out what the current time is in that location. Here\'s how I was getting it before:

5条回答
  •  无人及你
    2020-12-10 00:38

    Use this data dump and import it into your program. Then locate the country in which your lat/long exists and it's time zone. You can then calculate what time it is at a specific lat/lon.

    Geonames

提交回复
热议问题