2021年11月25日
摘要: 原理: 时间戳为 1970-01-01 08:00:00 距现在时间的毫秒数, 因此可以将两个时间戳相减获取两个时间的毫秒数,再将毫秒数转换成所需要的时间 const TimeDifference = (stime,etime) => { // let d1 = new Date(faultDate 阅读全文
posted @ 2021-11-25 17:36 occc 阅读(715) 评论(0) 推荐(0) 编辑