zeed
    Preparing search index...

    Function dayYearOffset

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

      Parameters

      • day: number

        source DayValue

      • offset: number

        years to offset (positive or negative)

      Returns number