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

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

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