JS获取时间差

Date.parse(String string)转为毫秒数进行比较

原文地址:https://www.cnblogs.com/vvull/p/11646196.html