Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Date Intrinsic Functions - Year Method

Panel
bgColor#2c3c4c

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