last-of-month
date-time →
last-of-month() → date-time
Returns the last day of the month of the same month/year than the argument dateTime.
Parameters
This function has no parameters.
Examples
#"2024-01-15 12:30:00" | last-of-month → #"2024-01-31 00:00:00"
Kind: Function
Scope: temporal/calendar
Aliases: dateTime-to-last-of-month