Year Function

Description:
The year component of a date.
Returns:
Whole Number
Parameter:
Parameter
Data Type
Description
1
Date
The date.
Example:
When using functions inside a field, remember the field brackets:
{Year(AgreementDate)}
This can also be achieved using the format keyword on a field:
When using functions inside a field, remember the field brackets:
{DateAgreement Format "yyyy"}
Expression
Result
Year( Date( 2000, 2, 29 ) )
2000