Jul 25, 2019 09:21 AM|PatriceSc|LINK
So it seems you want to force as well both the day and month ie :
d.setDate(1); // want to force 1st ?
d.setMonth(0); // want to force January ?
d.setFullYear(d.getFullYear() + 60);
Edit: or building the date you want rather than changing values : var d = new Date(new Date().getFullYear()+60,0);
For now the problem is that you don't do anything with the day and you decrease the month by 1 when it seems you want January 1st ?