var timestamp1 = Date.parse(new Date());
var timestamp2 = Date.parse(new Date());
var times = timestamp1-timestamp2;//时间戳后面三位是000不变的。