add one month to current date javascript code example
Example 1: javascript add days to date
var myCurrentDate=new Date();
var myFutureDate=new Date(myCurrentDate);
myFutureDate.setDate(myFutureDate.getDate()+ 8);//myFutureDate is now 8 days in the future
Example 2: javascript after 2 months date find
var newDate = new Date(date.setMonth(date.getMonth()+8));
var jan312009 = new Date(2009, 0, 31);
var eightMonthsFromJan312009 = jan312009.setMonth(jan312009.getMonth()+8);
//@SUJAY