YEAR

Returns the year of the provided date as an integer constant

YEAR (date)

Can be used in the condition of a FIND action.

Attribute of the Date type or date constant or calculation producing a date

Number: the year of the date.

IF YEAR (Account.OpeningDate) = 2004 THEN ...