var time2 = new Date(2018,7,8,8,8,8); // 调用底层Date.UTC() console.log('time2',time2); var time3 = Date.UTC(2018,7,8,8,8,8); // console.log('time3', time3); var time33 = new Date(time3); console.log('time33', time33);为什么打印结果不同time2 Wed Aug 08 2018 08:08:08 GMT+0800 (中国标准时间)time33 Wed Aug 08 2018 16:08:08 GMT+0800 (中国标准时间)
添加回答
举报
0/150
提交
取消