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
  • 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. Commented Apr 5, 2018 at 9:12
  • 2
    There's in built solution in .net. There are many solutions apis libraries available to do this. You could start here github.com/mj1856/GeoTimeZone/issues/15 Commented Apr 5, 2018 at 9:20

1 Answer 1

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.

Sign up to request clarification or add additional context in comments.

1 Comment

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.