[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [APML] Calculating time zone offset



At 14:05 07/08/02 -0500, you wrote:
The reason is because you are in the "first" time zone.  So your offset is
your longitude.  What you are trying to find is how far away you are from
the 1 hour "time zone" (there's probably a technical term for it, but I don't
know what it is.)  Here's a comparison between your location and one in the
"second time zone":

Longitude       GMT Offset      Time Zone Offset

 4.25           0               4.25
19.25           1               4.25

Both locations are 4.25 degrees west of the time zone "edge".  But since
your "edge" is valued at zero, your longitude is your offset.

Thanks Gene,i think i understand now.

Rather than go by the divide by/multiply by 15 method IMO an easier way is
to just take your longitude - 15 * (GMT Offset).

Not sure that i understand this though -

with my values put in the calculation looks like this ?


longitude     -     15       *       (GMT Offset)

4.25       (minus)  15 (multiply by)      0        = 0

??

Additional useless information - the divide by 15 comes from 360 degrees /
24 time zones = 15 degrees/time zone.

Ill try and remember that ...it could be useful if i ever take my mount overseas!

Leo