Answer the question
In order to leave comments, you need to log in
How to add months to the current date?
so that it is correct with any date
source data: 05/20/2020
output: +13 months for example
06/20/2022
UPDATE
https://jsfiddle.net/1kL9jt68/2/
Answer the question
In order to leave comments, you need to log in
var date = new Date(1999,11,31);
date.setMonth(D.getMonth() + 3);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question