UNPKG

@technobuddha/library

Version:
15 lines (14 loc) 474 B
declare type Options = { /** Use the UTC timezone */ UTC?: boolean; }; /** * Determine the start of the month for a dateDetermine the start of the month for a date * * @param input The date * @param __namedParamaters see {@link Options} * @default UTC false * @returns The date value for midnight on the first day of the specified month */ export declare function getBeginningOfMonth(input: Date, { UTC }?: Options): Date; export default getBeginningOfMonth;