Year

This function retrieves an integer representing the year.

Syntax

Year(date)

Parameters

date
Any expression that can represent a date. If date contains Null, Null is returned.

Return Values

Returns an integer.