function addMonths
addMonths(
date: Date,
months: number,
): Date

Adds the given amount of months to the specified date.

Parameters

date: Date
months: number

Return Type

Usage

import { addMonths } from ".";