I did test it on days before, month before, and days after and month after as well. But you are quite corrrect, and i know how i missed this.
I had my
on the year input so i could change the month or day and it would not change so when it showed me 25 or 24 i just happend to of changed the month or day and it was correct. That one got thru the cracks on me... sorry about that
Yes you are very correct and thanks for sharing that, i have ammended my code above as well to reflect the
var curmo = todaysdate.getMonth() + 1;
Thanks so much Dev