varcurrentDate = new Date();对日期加减:date.setDate(date.getDate()+n);对月加减:date.setMonth(date.getMonth()+n);对年加减:date.setFullYear(date.getFullYear()+n);