特牛生活网

时间戳转时间_时间cuo改成时间-CSDN博客

网友收藏
文章浏览阅读631次。//时间戳转换时间 formatDate(cellValue) { if (cellValue == null || cellValue == "") return ""; let date = new Date(parseInt(cellValue)); //时间戳为10位需*1000,时间戳为13位的话不需乘1000 let Y = date.getFullYear() + "-"; let M = date.getMonth..._时间cuo改成时间