0

I have to find out local time zone from GPS coordinate (Lat and Long) in C#.net. However I have searched around it and got solution by using Google map api. I don't want to use Google api to find time zone using GPS coordinate.

Is there any other way to find time zone using GPS coordinate in C#.net?

Please suggest me any solution for it.

  • 2
    You would have to find a List of geo-fences that correspond to the timezones since time zones are not exactly based on geometry. – Manfred Radlwimmer Apr 05 '18 at 09:12
  • 2
    There's in built solution in .net. There are many solutions apis libraries available to do this. You could start here https://github.com/mj1856/GeoTimeZone/issues/15 – Mick Apr 05 '18 at 09:20

1 Answers1

1

A coordinate is unambiguously in a single country, but a single country can have multiple timezones so even a country-level precision will not help you. How exactly do you imagine mapping the coordinates to a country and/or timezone without an external service, Google or not? I don't suppose you want to build your own Google Maps just to avoid using Google Maps (or Bing maps or whatever?

In any case, check if this question with its answer helps you to avoid using Google.

JussiV
  • 178
  • 3
  • 15
  • Ah, true, overlooked that fact in favour of worrying about countries on the same north-south axis having different time zones :) Will improve my answer, thanks. – JussiV Apr 05 '18 at 10:14