UNPKG

@technobuddha/library

Version:
12 lines (11 loc) 372 B
import { type DateOptions } from './date.ts'; /** * Determine the start of the day for a date * @param input - The date * @param options - see {@link DateOptions} * @defaultValue utc false * @returns The date value for midnight on the specified day * @group Time * @category Day */ export declare function beginningOfDay(input: Date, { utc }?: DateOptions): Date;