js如何给当前日期+1(-1)
+1:
var dateTime = new Date()
dateTime = dateTime.setDate(dateTime.getDate() + 1);
dateTime = new Date(dateTime);
-1:
var dateTime = new Date()
dateTime = dateTime.setDate(dateTime.getDate() - 1);
dateTime = new Date(dateTime);