UNPKG

@progress/kendo-date-math

Version:

Kendo UI typescript package exporting functions for Date manipulations

13 lines (12 loc) 333 B
/** * A function which returns the passed date with a midnight time portion. * * @param date - The initial date. * @returns - The date with a midnight time portion. * * @example * ```ts-no-run * getDate(new Date(2016, 0, 15, 14, 30, 30)); // 2016-01-15 00:00:00 * ``` */ export declare const getDate: (date: Date) => Date;