var date = new Date(); var tomorrow = date.setDate(new Date().getDate() + 10); //10天后的日期 console.log(date);参考 : http://www.runoob.com/jsref/jsref-obj-date.htmlhttp://www.runoob.com/jsref/jsref-setdate.html