ezyVet Javascript Helper Library Documentation
    Preparing search index...

    Function addMonths

    • Parameters

      • date: Date

        The date from of which the months are to be added.

      • numberOfMonths: number

        The number of months to add from the given date. It will throw an error if it's zero or negative.

      Returns Date

      The updated date with the added months.

      Add the specified number of months from the given date.