var timestamp1 = Date.parse(new Date());
var timestamp2 = Date.parse(new Date());
var times = timestamp1-timestamp2;//时间戳后面三位是000不变的。
var timestamp1 = Date.parse(new Date());
var timestamp2 = Date.parse(new Date());
var times = timestamp1-timestamp2;//时间戳后面三位是000不变的。
转载于:https://www.cnblogs.com/cuijinlong/p/6264912.html