01 2019 档案
js 14位字符串 转日期
摘要:const pattern = /(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/; const newDate = new Date(timeEnd.replace(pattern, '$1-$2-$3 $4:$5:$6')); 阅读全文
posted @ 2019-01-19 15:50 晓晨 阅读(1073) 评论(0) 推荐(0) 编辑