📅  最后修改于: 2022-03-11 15:03:44.408000             🧑  作者: Mango
var newDate = new Date(date.setMonth(date.getMonth()+8));
var jan312009 = new Date(2009, 0, 31);
var eightMonthsFromJan312009 = jan312009.setMonth(jan312009.getMonth()+8);
//$uj@y