Skip to content

addDays()

Returns a new date shifted forward by the provided number of days.

Example:

ts
addDays(new Date('2024-03-15'), 7);

Released under the MIT License.