timestampFrom()

The dateTimeLib.timestampFrom() system function returns a TIMESTAMP value that is based on a DATE and TIME that you specify.

Syntax

  dateTimeLib.timestampFrom(
    tsDate DATE? in,
    tsTime TIME? in)
  returns (result TIMESTAMP?)
tsDate
A DATE variable. If tsDate has a null value, the function uses the current system date.
tsTime
A TIME variable. If tsTime has a null value, the function uses the current system time.
result
A TIMESTAMP value that combines tsDate and tsTime.

Feedback