Date and Time Data Types

COBOL does not have date/time data types so SQL date/time columns are converted to character representations.

If a COBOL output host variable is defined for an SQL timestamp value, the date and time are specified in the format yyyy-mm-dd hh:mm:ss.ff..., where the number of fractional digits is driver-defined.

For example:

1994-05-24 12:34:00.000