Function: useLastDayOfMonth()
useLastDayOfMonth(
date?):string
Defined in: src/core/services/dates.service.ts:241
Returns the last day of the month for a given date.
Parameters
date?
string | PlainDate
Base date (defaults to today).
Returns
string
The last day of the month as an ISO string.
Example
useLastDayOfMonth("2024-02-10"); // "2024-02-29" (leap year)
useLastDayOfMonth("2024-06-15"); // "2024-06-30"