Skip to content

getFirstDateInMonth Type documentation

TypeScript declaration

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

Get the beginning of the month.

Returns: a new date object which starts a the first.

getFirstDateInMonth(current: Date): Date

Get the beginning of the month.

Returns: a new date object which starts a the first.

Parameters
  • • a date object from where the first date in a month is derived.

    current: Date


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