摘要: var m1 = moment('2018-08-14 11:00:00'), m2 = moment('2018-08-14 12:10:00'); console.log(m1)console.log(m2)console.log(m2.diff(m1, 'minute'));minute为分钟 阅读全文
posted @ 2018-08-14 18:08 小小lomo 阅读(17728) 评论(0) 推荐(0) 编辑