Skip to main content
Participant
March 11, 2010
Question

BUG? about create a new Date variable in Flex 3.5a relase

  • March 11, 2010
  • 1 reply
  • 462 views

I'm using Flex builder 3 with SDK 3.50.13683.

When I create a new Date variable in Jan 29-31, I will get Feb. 1-3. Is this a BUG?

For example, if I use:

"var day:Date = new Date(2009,1,29);"

I will get actually 2009.2.1 in this "day" variable.... What's wrong?

I have tried SDK 3.4.1.10084 and also tried the year 2007 and 2008, all the same!

I can't get a Date in any Jan 29-31!!!

Any solution? Thanks.

This topic has been closed for replies.

1 reply

Participant
March 11, 2010

Problem solved. The month in Date start from 0.The Date(2009,1,29)

means 2009 Feb. 29.