js 取当前时间的整数

var now =new Date(); Math.round(now.getTime()/1000);

你可能感兴趣的:(js 取当前时间的整数)