摘要: // 获取当前时间戳(以s为单位) var timestamp = Date.parse(new Date()); timestamp = timestamp / 1000; //当前时间戳为:1403149534 console.log("当前时间戳为:" + timestamp); // 获取某 阅读全文
posted @ 2017-05-16 21:32 模糊的星空 阅读(183) 评论(0) 推荐(0) 编辑