The following Code:
dtToday = new Date();
Yr = dtToday.getFullYear();
Mo = dtToday.getMonth();
Da = dtToday.getDate();
give for dtToday : "Sun July 31 2005"
Yr and Da are correct, but Mo gives 6 instead of 7 as result.
What is wrong?
Traveller
dtToday = new Date();
Yr = dtToday.getFullYear();
Mo = dtToday.getMonth();
Da = dtToday.getDate();
give for dtToday : "Sun July 31 2005"
Yr and Da are correct, but Mo gives 6 instead of 7 as result.
What is wrong?
Traveller
Comment