Syntax
[TD_SYSFNLIB.] YearNumber_Of_Calendar (
expression [,] [ calendar_name | NULL ]
)
Syntax Elements
- TD_SYSFNLIB.
- Name of the database where the function is located.
- expression
- An expression that results in a DATE, TIMESTAMP, or TIMESTAMP WITH TIME ZONE value.
- calendar_name
- A calendar name. The possible values are Teradata, ISO, and COMPATIBLE.
- This argument must be a character literal and cannot be a table column or expression. If you do not name a calendar, Teradata uses the calendar for the session.
- NULL
- The business calendar for the session.