2020-01-01T20:10:00.000+0000格式的时间处理,前台处理

将其余时区格式的时间转化为常规Date格式(中国标准时间),同时转正时区     var data = time.substr(0, 19);     var newDate = new Date(new Date(data.replace(/T/g, ' ').replace(/-/g, '/')).getTime() + 8 * 60 * 60 * 1000);spa    其余时区的格式比中
相关文章
相关标签/搜索