YEAR
Learn how to use the YEAR date/time function in PlaidCloud Lakehouse. Returns the year from a date - see syntax, examples, and output.
Returns the year from a date.
Analyze Syntax
func.year(<date>)
Analyze Examples
func.year('2024-06-15')
┌──────┐
│ 2024 │
└──────┘
SQL Syntax
YEAR(<date>)
SQL Examples
SELECT YEAR('2024-06-15');
┌──────┐
│ 2024 │
└──────┘