Hex Core JS
    Preparing search index...

    Function toAnniversary

    • Returns the anniversary date for the given date in the given year.

      Parameters

      • original: DateTime

        The original date of the event whose anniversary is being calculated.

      • year: number = ...

        The year to calculate the anniversary for. Defaults to the current year.

      Returns Date