📅  最后修改于: 2022-03-11 15:01:24.987000             🧑  作者: Mango
incrementeDate(dias: any) {
var tomorrow = new Date();
tomorrow.setDate(tomorrow.getDate() + dias);
return tomorrow;
}
const date = incrementeDate(5);
// start date: 9/30/21
// result date: 10/05/21