1,

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

输出: 1593856981

 

相关文章: