JS 时间戳转化为时间格式
摘要:
function getLocalTime(nS) { return new Date(parseInt(nS)).toLocaleString().replace(/:\d{1,2}$/, ' ').replace("年", '-').replace("月", '-').... 阅读全文
posted @ 2014-11-20 10:56 战马 阅读(212) 评论(0) 推荐(0)
posted @ 2014-11-20 10:56 战马 阅读(212) 评论(0) 推荐(0)