日期

2020-01-06  本文已影响0人  noyanse
image.png
time.replace(/-/g, '/')
Date.parse('2020/01/06 00.00.00') 转化为时间戳
new Date(时间戳) 转化为标准时间
上一篇 下一篇

猜你喜欢

热点阅读