GMTToStr(time){
let date = new Date(time)
let Str=date.getFullYear() + ‘-’ +
(date.getMonth() + 1) + ‘-’ +
date.getDate() + ’ ’ +
date.getHours() + ‘:’ +
date.getMinutes() + ‘:’ +
date.getSeconds()
return Str
}
https://blog.youkuaiyun.com/shuaizi96/article/details/73610599 转
GMT 转 年月日
最新推荐文章于 2024-01-11 15:44:05 发布