var date = new Date();
date.setFullYear(date.getFullYear() + 1);
var year = date.getFullYear();
var month = date.getMonth()+1;
var day = date.getDate();
var dateStr=' '+year + '年' + month + '月' + day + '日';
转载于:https://www.cnblogs.com/qq9493/p/10024698.html