UNPKG

everyutil

Version:

A comprehensive library of lightweight, reusable utility functions for JavaScript and TypeScript, designed to streamline common programming tasks such as string manipulation, array processing, date handling, and more.

9 lines (8 loc) 250 B
/** * Gets the number of days in a given month and year. * @author @dailker * @param {number} year * @param {number} month - 0=Jan, 11=Dec * @returns {number} */ export declare function daysInMonth(year: number, month: number): number;