Why is it that in javascript I create a new date object mydate = new Date('2011-10-03');
and it prints as October 2nd? Sun Oct 02 2011 18:00:00 GMT-0600 (MDT)
If I set the date to be October 3rd shoudn't I get a 3 when I call mydate.getDate();
?
What I am I missing?