first-of-month
date-time →
first-of-month() → date-time
Returns the first 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" | first-of-month → #"2024-01-01 00:00:00"
Kind: Function
Scope: temporal/calendar
Aliases: dateTime-to-first-of-month