Description | The |
Syntax | YEAR( |
Output | integer |
Variables
date
: The date or datetime from which you want to extract the year component.
Example
YEAR(`Sale Date`)
Transaction | Sale Date | YEAR |
Transaction A | 2023-09-10 | 2023 |
Transaction B | 2022-08-25 | 2022 |
Transaction C | 2021-09-01 | 2021 |