zeed
    Preparing search index...

    Function dayMonthOffset

    • Return the day offset by whole months, keeping the day-of-month when possible. If the target month has fewer days, the result is clamped to the last day.

      Parameters

      • day: number

        source DayValue

      • offset: number

        months to offset (positive or negative)

      Returns number