dayOf()

The system function DateTimeLib.dayOf returns a positive integer that represents a day (1-7), as derived from a variable of type TIMESTAMP.

  DateTimeLib.dayOf(aTimeStamp TIMESTAMP in)
  returns (result INT)
result
A positive integer that corresponds to the day of the month.
aTimeStamp
The variable from which the day 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.