添加时间戳

//时间转换成时间戳
if(startPublishTime != ''){
startPublishTime = new Date(startPublishTime.replace(/-/g, '/')).getTime();
}

posted @ 2016-05-15 21:33  迹地猿  阅读(239)  评论(0编辑  收藏  举报