ezyVet Javascript Helper Library Documentation
    Preparing search index...

    Function subtractMonths

    • Parameters

      • date: Date

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

      • numberOfMonths: number

        The number of months to subtract from the given date.

      Returns Date

      The updated date with the subtracted months.

      Subtract the specified number of months from the given date.