YEAR
Purpose
This function returns the year of a date.
Syntax
year::=
Usage Notes
- This function can also be applied on strings, in contrast to function EXTRACT.
- For data type
TIMESTAMP WITH LOCAL TIME ZONE
this function is calculated within the session time zone.