UNPKG

@technobuddha/library

Version:
15 lines (14 loc) 439 B
declare type Options = { /** Use the UTC timezone */ UTC?: boolean; }; /** * Determine the last day of the month containing the input date * * @param input The date * @param __namedParameters see {@link Options} * @default UTC false * @returns Midnight on the last day of the month corresponding to the input date */ export declare function getEndOfMonth(input: Date, { UTC }?: Options): Date; export default getEndOfMonth;