摘要: 1、时间戳转日期格式: 1 console.log(timestampToTime(new Date().getTime(),'yyyy-mm-dd hh:MM:ss')); 2 3 //时间戳转 日期 4 function timestampToTime (timestamp,format) { 阅读全文
posted @ 2018-03-27 11:25 小旺同学 阅读(351) 评论(0) 推荐(0)