var myCurrentDate=new Date(); var myFutureDate=new Date(myCurrentDate); myFutureDate.setDate(myFutureDate.getDate()+ 8);//myFutureDate is now 8 days in the future