var date = new Date();
var tomorrow = date.setDate(new Date().getDate() + 10); //10天后的日期
console.log(date);

参考 : http://www.runoob.com/jsref/jsref-obj-date.html

http://www.runoob.com/jsref/jsref-setdate.html

05-08 15:29