Skip to content
Edit this page

addMonthsInRange Type documentation

TypeScript declaration

import { addMonthsInRange } from '@siemens/element-ng/datepicker';

Get date delta specifically for months based on the offset.

Returns: a new date object with the updated month.

addMonthsInRange(current: Date, monthsOffset: number, minDate?: Date, maxDate?: Date): Date

Get date delta specifically for months based on the offset.

Returns: a new date object with the updated month.

Parameters


Except where otherwise noted, content on this site is licensed under MIT License.