2 Replies Latest reply on Dec 1, 2011 9:23 PM by aimaob

    Date is wrong

    aimaob

      Hi

       

      I am not sure what is wrong. I am instantiating a new Date object using the below values.

       

      var thisDate:Date = new Date(2011, 12, 2, 9, 30);

       

      But when I did a trace, I got

       

      Mon Jan 2 09:30:00 GMT+0800 2012.

       

      Why is the date wrong?

       

      Thanks in advance!