i am using earth tool webservice to find time zone based on lat long. I am getting offset and suffix in the webservice.
Now the problem, i am facing is i need to get time zone from the offset and suffix and determine if there is daylight saving in the area or not. how can i do this?
.Net has a nice TimeZoneInfo.Local.IsDaylightSavingTime, but unfortunately you don't have enough info to create an instance.
You should however be able to do something like this:
The API you are using returns if there is daylight saving on that lang+lot, you don't have to find it out from offset and suffix.
See this:
If you would like to determine it your own, without this attribute, you have to know the country where to point is, because DST is country specific.