Library API
    Preparing search index...

    Function addUtcDays

    • Adds an integer number of days to a Date in UTC, returning a new Date instance.

      Parameters

      • date: Date

        The baseline Date instance

      • days: number

        Number of days to add (can be negative)

      Returns Date

      A new Date instance offset by the specified number of days