📜  获取当前时间纪元 javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:43.081000             🧑  作者: Mango

代码示例4
let nowInMs = Date.now();
let nowInSecond = Math.round(nowInMs/1000);
console.log(nowInSecond); //