https://segmentfault.com/a/1190000000481753
var strtime=‘2014-04-23 18:55:49:12‘;
var date=new Date(strtime);
var time1=Date.parse(date)/1000;
console.log(time1)
js 中时间戳
原文:https://www.cnblogs.com/jxfy/p/12927415.html