I would except.. your right.. and I found out there was a problem elsewhere. Well its late here, regardless of timezones lol
--- In flexcoders@yahoogroups.com, "Doug Lowder" <[EMAIL PROTECTED]> wrote: > > Can you provide the code that shows how you are creating and printing > the Date objects? A lot of times, I've discovered the mistake is > somewhere other than the Date classes (no offense!) > > > --- In flexcoders@yahoogroups.com, "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 > > >