Skip to content

daysInMonth Type documentation

TypeScript declaration

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

Get number of days for the given month and year.

Returns: the number of days for the given month.

daysInMonth(month: number, year: number): number

Get number of days for the given month and year.

Returns: the number of days for the given month.

Parameters

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