@alextheman/utility - v4.3.5
    Preparing search index...

    Function addDaysToDate

    • Adds a given number of days to the provided date, returning the result as a new instance of Date.

      Parameters

      • currentDate: Date = ...

        The starting date (defaults to today).

      • dayIncrement: number = 1

        The amount of days you want to add (defaults to 1)

      Returns Date

      A new Date instance with the number of days added to the initially provided date.