date-time →
first-of-year() → date-time

Returns the first of January of the same year than the argument dateTime.

Parameters

This function has no parameters.

Examples

#"2024-01-15 12:30:00" | first-of-year  #"2024-01-01 00:00:00"

Kind: Function
Scope: temporal/calendar
Aliases: dateTime-to-first-of-year


This site uses Just the Docs, a documentation theme for Jekyll.