Table of Contents

, ,

YEAR

Description

Returns the year of the provided date as an integer constant

Syntax

YEAR (date)

Can be used in the condition of a FIND action.

Parameters

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

Returns

Number: the year of the date.

Example

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

MONTH, DAY_OF_MONTH, CURRENT_YEAR, YEAR_DIFFERENCE