dayOf()
The dateTimeLib.dayOf() system function returns a positive integer that represents a day of the month (1-31), as derived from a TIMESTAMP variable.
Syntax
dateTimeLib.dayOf(aTimeStamp TIMESTAMP? in)
returns (result INT?)
- aTimeStamp
- The variable from which the day of the month is derived.
- result
- A positive integer that corresponds to the day of the month. If aTimeStamp is null, the function returns a null value.