//将时间戳转化为普通格式
function getLocalTime(nS) {
return new Date(parseInt(nS)).toLocaleString().replace(/:\d{1,2}$/, ' ');
}
转载于:https://www.cnblogs.com/summerLisi/p/5405352.html
//将时间戳转化为普通格式
function getLocalTime(nS) {
return new Date(parseInt(nS)).toLocaleString().replace(/:\d{1,2}$/, ' ');
}
转载于:https://www.cnblogs.com/summerLisi/p/5405352.html