Skip to content
Edit this page

getLastDateInMonth Type documentation

TypeScript declaration

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

Get the last date of the month.

Returns: a new date object which is the last day in the current month.

getLastDateInMonth(current: Date): Date

Get the last date of the month.

Returns: a new date object which is the last day in the current month.

Parameters
  • • a date object from where we derive the last date in a month.

    current : Date


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