Returns the month calculated date with the source date and the specified amount
Optional
the date to inspect
the amount to add, negative number means minus
the month calculated date with the source date and the specified amount
addMonth(new Date(2023, 8, 30), 1); // Date(2023, 9, 30) Copy
addMonth(new Date(2023, 8, 30), 1); // Date(2023, 9, 30)
Returns the month calculated date with the source date and the specified amount