1.0.0 • Published 6 years ago
times-diff v1.0.0
datetime-format-wsy
获取时间差,传入参数为时间戳
install
npm install -g count-down
#github
#usage const d1 = new Date("2019/10/1 10:30:30"), d2 = new Date("2019/10/5 12:50:00"); console.log(ntod(d2 - d1));
1.0.0
6 years ago