View Single Post
Old Oct 31st, 2006, 2:49 PM   #5
aaroncampbell
Newbie
 
Join Date: Oct 2006
Posts: 7
Rep Power: 0 aaroncampbell is on a distinguished road
As it turns out, the date that I was adjusting was Month/LastDayOfMonth/Year, so it would be something like: 10/31/2006 and it would try to change it to 11/31/2006 (which doesn't exist, 11 only has 30 days). It doesn't know what to do with that, so it interprets it as 12/01/2006. I simply added this.current.setDate(1); before the setMonth and it worked perfectly.
aaroncampbell is offline   Reply With Quote