monthOf()

The system function DateTimeLib.monthOf returns a positive integer that represents a month, as derived from a variable of type TIMESTAMP.

  DateTimeLib.monthOf(aTimeStamp TIMESTAMP in)
  returns (result INT)
result
A positive integer that represents a month.
aTimeStamp
The TIMESTAMP variable from which the month is derived.

Related concepts
Syntax diagram for EGL functions

Related reference
DATE
EGL library DateTimeLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.