Skip to content

getFirstDayInMonth Type documentation

(year: number, month: number) => Date
Function
Gets the first day in the specified month. Expects the month as a value between 1 and 12. The year is required to handle leap years.
-
Returns The first day of the month as a Date.
Parameters
year: number
month: number

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.