@technobuddha/library
Version:
A large library of useful functions
15 lines (14 loc) • 406 B
TypeScript
declare type Options = {
/** Use the UTC timezone */
UTC?: boolean;
};
/**
* Determine the start of the day for a date
*
* @param input The date
* @param __namedParameters see {@link Options}
* @default UTC false
* @returns The date value for midnight on the specified day
*/
export declare function getBeginningOfDay(input: Date, { UTC }?: Options): Date;
export default getBeginningOfDay;