YearFromDate¶
Returns the year from a date input.
Expects a date as input and returns an integer representing the year.
Useful for the year_of_birth field in the person table.
Parameters¶
No parameters accepted.
Input type¶
DATE
Output type¶
INT
Examples¶
Default
See also¶
DayFromDate, MonthFromDate, HourFromDate, MinuteFromDate, SecondFromDate, MergeDate