Skip to content

getFirstDateInYear Type documentation

TypeScript declaration

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

Get the beginning of the year.

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

getFirstDateInYear(current: Date): Date

Get the beginning of the year.

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

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

    current : Date


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