JS_0017:JS获取当前毫秒数,时间戳

1,

var now = timestamp = Date.parse(new Date()) / 1000;
console.log(now);

输出: 1593856981