This is kind of old, but we are running into the same problem.  Can 
you, or someone else, help us figure out how to calculate the "real" 
offset?  Thanks.

-Brad Keck

--- In [email protected], "reflexactions" 
<[EMAIL PROTECTED]> wrote:
>
> Not to worry I figured a way to calculate the real offset.
> 
> I do think it is really a big flaw in the Date object that Adobe 
dont 
> provide access to this figure even though they know what it is.
> 
> tks
> 
> --- In [email protected], "reflexactions" 
> <reflexactions@> wrote:
> >
> > Need a quick fix for this problem.
> > 
> > When I "print" a date object it tell me the tiemzone offset is 
GMT-
> 0400.
> > 
> > However when I get a date object and call its getTimezoneOffset 
> > function I get 5hrs not 4hrs.
> > 
> > The difference is daylight savings and yes I have in my (XPPro) 
> system 
> > I have checked to adjust for daylight savings.
> > 
> > The problem this is causing is that some date calcualtions I need 
> to 
> > make where I have to adjust for the timezoneoffset are one hour 
off.
> > 
> > Seems odd to me...
> > 
> > But is there a way to find out the correct current tiemzone 
offset 
> i.e. 
> > the 4 hrs flex prints rather than the 5 hrs it returns from the 
> method 
> > call.
> > 
> > tks
> >
>


Reply via email to