Year

Description

Returns the year portion of a date as an integer.

Syntax

Year ( date)

Arguments

date is a Date expression.

Remarks

Year returns an integer value representing the year including the century (e.g. 2012). If date is null, Year returns null.

Year works with both Date and DateTime expressions.