On 12/30/01 12:50 PM, "Kevin Ballard" <kevin at sb dot org> wrote:
> On 12/30/01 12:55 PM, "Mike Bailey" <mike at realsoftware dot com> wrote:
>
>> This might help you out. The following "should" return your GMT offset:
>
> Just tried it on OS X. It returned -500 when it should have returned -5.
> What do other people get? I want to know if it's simply a matter of it
> returning the answer times 100.
>
> --
> Kevin Ballard
> kevin at sb dot org
> http://kevin.sb.org/
-500 is the correct format to be returned. If you look at the date in your
email headers you will notice the timezone indicator at the end looks like
this "-0500". You should be able to divide by 100 to remove the extra 0s.
--
Mike Bailey
REAL Software, Inc.
http://www.realsoftware.com
|