|
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.
|