Monday, March 22, 2010

Date Help

When I do this:

聽聽聽聽 var now:Date = new Date();

and debug:

聽聽聽聽 now = 06/01/2009

today's date is:

聽聽聽聽 07/20/2009

Can anyone help please?

Date Help

months are zero-based so your month looks ok.聽 your date is incorrect though so either your computer's date is incorrectly set or your code generating the date is wrong.

No comments:

Post a Comment