js获取当前时间戳 不需毫秒数

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

posted on 2016-09-13 11:15  多多明明  阅读(2329)  评论(0编辑  收藏  举报