以下时间2023-03-19T17:00:00.000Z用js修改2023-03-20 00:00:00
时间: 2023-12-30 21:00:26 浏览: 147
Pipeline-Trigger-2021-03-19T20-50-36.175Z:为工具链创建
var date = new Date('2023-03-19T17:00:00.000Z');
date.setDate(date.getDate()+1);
date.setHours(0,0,0,0);
console.log(date.toLocaleString()); // Output: "2023-03-20 00:00:00"
阅读全文