It is not a bug. It is the daylight savings that create different
timeZoneOffsets. And this is expected behavior.

- venkat
http://www.venkatj.com

--- In flexcoders@yahoogroups.com, "Collin Peters" <[EMAIL PROTECTED]> wrote:
>
> Can somebody verify this?  When I set the month in the date object the
> timezone increments
> 
> <code>
> var date:Date = new Date();
> trace("date1: " + date);
> date.setFullYear(1963);
> trace("date2: " + date);
> date.setMonth(6);
> trace("date3: " + date);
> date.setDate(5);
> trace("date4: " + date);
> </code>
> 
> Output:
> date1: Fri Jan 4 10:15:34 GMT-0800 2008
> date2: Fri Jan 4 10:15:34 GMT-0800 1963
> date3: Thu Jul 4 10:15:34 GMT-0700 1963
> date4: Fri Jul 5 10:15:34 GMT-0700 1963
> 
> 
> This is causing havoc for me for a Swedish client as they are GMT +1.
> Therefore the backend gets the wrong day when trying to save a
> birthdate (which does not have a time component).
>


Reply via email to