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