moment.js当日时间默认值

var Date = moment().millisecond(0).second(0).minute(0).hour(0);

把当天时间设置为0:0:0

posted @ 2017-09-21 17:24  Jerry24  阅读(1743)  评论(0编辑  收藏  举报