2019年5月30日

JS 将时间戳 ( /Date(1557763200000)/ ) 转为正常的日期类型方式

摘要: 以下任意一种都可以使用哦。 一: function GetDateFormat(time) { return new Date(parseInt(str.substr(6, 13))).toLocaleDateString(); } 二: function Test(time) { var t = 阅读全文

posted @ 2019-05-30 13:49 阿里正正 阅读(784) 评论(0) 推荐(0) 编辑

导航