📜  纪元时间js - Javascript代码示例

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

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