UNPKG

@technobuddha/library

Version:
15 lines (14 loc) 406 B
declare type Options = { /** Use the UTC timezone */ UTC?: boolean; }; /** * Determine the number of days in the month for a date * * @param input The date * @param __namedParameters see {@link Options} * @default UTC false * @returns The number of days in the specified month */ export declare function getDaysInMonth(input: Date, { UTC }?: Options): number; export default getDaysInMonth;