1let MyDate = new Date();
2let MyDateString;
3
4MyDate.setDate(MyDate.getDate() + 20);
5
6MyDateString = ('0' + MyDate.getDate()).slice(-2) + '/'
7 + ('0' + (MyDate.getMonth()+1)).slice(-2) + '/'
8 + MyDate.getFullYear();
1var newDate = new Date(date.setMonth(date.getMonth()+8));
2
3var jan312009 = new Date(2009, 0, 31);
4var eightMonthsFromJan312009 = jan312009.setMonth(jan312009.getMonth()+8);
5//@SUJAY