yearOf()

The dateTimeLib.yearOf() system function returns a four-digit integer that represents a year, as derived from a TIMESTAMP variable.

Syntax

  dateTimeLib.yearOf(aTimeStamp TIMESTAMP? in)
  returns (result INT?)
aTimeStamp
The variable from which the year is derived.
result
The integer that represents the year. If aTimeStamp is null, the function returns a null value.

Feedback