var Date = moment().millisecond(0).second(0).minute(0).hour(0); 把当天时间设置为0:0:0 转载于:https://www.cnblogs.com/JerryWang24/p/7569696.html