DB2 Scalar functions - TIMESTAMP
The TIMESTAMP function returns a timestamp from a value or a pair of values.
The schema is SYSIBM.
Only Unicode databases support an argument that is a graphic string representation of a date, a time, or a timestamp. In a Unicode database, if a supplied argument is a graphic string, it is first converted to a character string before the function is executed.
The rules for the arguments depend on whether expression2 is specified and the data type of expression2
String representations of datetime values
The result of the function is a TIMESTAMP.
The timestamp precision and other rules depend on whether the second argument is specified:
If the arguments include only date information, the time information in the result value is all zeros. If either argument can be null, the result can be null; if either argument is null, the result is the null value.
TIMESTAMP(START_DATE, START_TIME)
Returns the value '1988-12-25-17.12.30.000000'.
TIMESTAMP('2007-09-24-15.53.37.2162474',9)