date-time →
year-of-era() → integer

returns a numeric value representing the year of the date passed as the argument

Parameters

This function has no parameters.

Examples

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

Kind: Function
Scope: temporal
Aliases: dateTime-to-year-of-era


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