new Date(new Date().toLocaleDateString())
let date = new Date(new Date().toLocaleDateString()); let dateString = date.toLocaleString(); let dateStamp = date.getTime(); console.log(date, dateString, dateStamp); // Tue Aug 09 2022 00:00:00 GMT+0800 (中国标准时间) '2022/8/9 00:00:00' 1659974400000
本站文章除注明转载/出处外,均为原创,若要转载请务必注明出处。转载后请将转载链接通过邮件告知我站,谢谢合作。本站邮箱:admin@only4.work
尊重他人劳动成果,共创和谐网络环境。点击版权声明查看本站相关条款。