当前位置: 主机百科 » 资源 » 技术 » 正文

js获取当前时间戳

js获取当前时间戳方法:

1
  var now = Math.round(new Date() / 1000);  console.log(now);

未经允许不得转载:主机百科 » js获取当前时间戳

相关文章