@progress/kendo-date-math
Version:
Kendo UI typescript package exporting functions for Date manipulations
13 lines (12 loc) • 314 B
TypeScript
/**
* A function which returns the first date of the month.
*
* @param date - The initial date.
* @returns - The first date of the initial date month.
*
* @example
* ```ts-no-run
* firstDayOfMonth(new Date(2016, 0, 15)); // 2016-01-01
* ```
*/
export declare const firstDayOfMonth: (date: Date) => Date;