You can do this with the geonames webservices (geonames.org)

Example call (avaliable in XML or JSON format):
http://ws.geonames.org/timezone?lat=47.01&lng=10.2&style=full

Result:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<geonames>
<timezone>
<countryCode>AT</countryCode>
<countryName>Austria</countryName>
<lat>47.01</lat>
<lng>10.2</lng>
<timezoneId>Europe/Vienna</timezoneId>
<dstOffset>2.0</dstOffset>
<gmtOffset>1.0</gmtOffset>
<rawOffset>1.0</rawOffset>
<time>2008-09-14 11:05</time>
</timezone>
</geonames>

Call this for your 2 coordinates an use the xxxOffset to calculate the
difference.





On Sep 13, 7:18 pm, rona <[EMAIL PROTECTED]> wrote:
> i need equation to time difference from any point on the map to GMT
> Regars
>
> On Sep 13, 8:05 pm, rona <[EMAIL PROTECTED]> wrote:
>
> > hi
> > Is there any equation or method to  calculate the Time Offset (time
> > zone) for any point on the map
> > regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to