Date Intrinsic Functions - Year Method
Return the year portion of the date
Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Integer

Resulting number

Details


Year returns the year portion of a date as a number.

Example


In this example, if #Today was 2014-31-12, the result would be 2014.
#Result := #Today.Year

See also

All Component Classes
Technical Reference