Year / Temporal Layer

Extract year from date/datetime values, similar to datetime.year in Python or YEAR() in SQL. Returns four-digit year number.

Example contexts:

DateYearTypeNote
2024-01-012024Leap Year366 days
2023-12-312023Common Year365 days
2000-01-012000Century LeapDivisible by 400
1999-12-311999Common Year20th century end

Common applications:

  • Annual reporting
  • Year-over-year analysis
  • Long-term trends
  • Historical comparisons
  • Period aggregations
Table
0
0
Table

Transforms

[, ...]

Select

column

Date/datetime column to extract year from. Returns four-digit year number following the Gregorian calendar system.

Name for the new column. If not provided, the system generates a unique name. If AsColumn matches an existing column, the existing column is replaced. The name should follow valid column naming conventions.