date-time →
year() → text
returns a textual value at format YYYY representing the year of the date passed as the argument
Parameters
This function has no parameters.
Examples
#"2024-01-15 12:30:00" | year → "2024"
Kind: Function
Scope: temporal
Aliases: dateTime-to-year