Dodaj datę miesiąca teraz JavaScript
var newDate = new Date(date.setMonth(date.getMonth()+8));
Lucky Lemur
var newDate = new Date(date.setMonth(date.getMonth()+8));
var myCurrentDate=new Date();
var myFutureDate=new Date(myCurrentDate);
myFutureDate.setDate(myFutureDate.getDate()+ 8);//myFutureDate is now 8 days in the future