Function addDays

Add n days to an input date.

  • Parameters

    • date: Date

      The input date

    • n: number

      The number of days

    Returns Date

    A date d