📅  最后修改于: 2022-03-11 15:01:13.643000             🧑  作者: Mango
//date time to date momentjs
var support_date = new Date("2021-10-23 00:00:00");
support_date = moment(support_date).format("YYYY-MM-DD");
//output:"2021-10-23"