📅  最后修改于: 2022-03-11 15:01:32.079000             🧑  作者: Mango
var oneMonthAgo = new Date(
new Date().getFullYear(),
new Date().getMonth() - 1,
new Date().getDate()
);
console.log(oneMonthAgo);
//$uj@y