UNPKG

@technobuddha/library

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