addMonths
Adds months and returns a new immutable Chronos instance.
addMonths()
Adds months and returns a new immutable Chronos instance.
Signature
addMonths(months: number): ChronosParameters
months: Number of months to add
Return Type
Chronos - New instance with added months
Example
playground.ts
Alternative
- You can also use
addmethod asoriginal.add(1, 'month').
Last updated: Thu, May 21, 2026 12:57:11PM (UTC)
