js add days to current date code example
Example 1: new date() in javascript 3 days from now
var dt = new Date();
dt.setDate(dt.getDate() + 3);
Example 2: 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