timestampFrom()

The function DateTimeLib.timestampFrom returns a TIMESTAMP value that is built based on a DATE and TIME that you specify.

  DateTimeLib.timestampFrom(
    tsDate DATE in,
    tsTime TIME in)
  returns (result TIMESTAMP)
result
A value of type TIMESTAMP.
tsDate
A variable of type DATE.
tsTime
A variable of type TIME.

Related concepts
Syntax diagram for EGL functions

Related reference
Datetime expressions
EGL library DateTimeLib
TIMESTAMP

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