摘要: JS中的日期加减使用以下方式: varcurrentDate = new Date(); 对日期加减: date.setDate(date.getDate()+n); 对月加减: date.setMonth(date.getMonth()+n); 对年加减: date.setFullYear(dat 阅读全文
posted @ 2019-01-04 15:31 poterliu 阅读(47234) 评论(0) 推荐(1)