dateOf()

The dateTimeLib.dateOf() system function returns a DATE value derived from a TIMESTAMP variable. EGL maintains this function for compatibility only; in new code, you can simply assign a TIMESTAMP value to a DATE variable. See Assignment compatibility in EGL.

Syntax

  dateTimeLib.dateOf(aTimeStamp TIMESTAMP? in)
  returns (result DATE?)
aTimeStamp
The value from which the date is derived.
result
A DATE value. If aTimeStamp has a null value, the function returns a null value.

Feedback