monthOf()

The dateTimeLib.monthOf() system function returns a positive integer that represents a month (1-12), as derived from a TIMESTAMP variable.

Syntax

  dateTimeLib.monthOf(aTimeStamp TIMESTAMP? in)
  returns (result INT?)
aTimeStamp
The variable from which the month is derived.
result
A positive integer that represents a month (1-12). If aTimeStamp is null, the function returns a null value.

Feedback