📅  最后修改于: 2022-03-11 15:03:06.499000             🧑  作者: Mango
var date = new Date('2016-08-25T00:00:00')
var userTimezoneOffset = date.getTimezoneOffset() * 60000;
new Date(date.getTime() - userTimezoneOffset);