Enform Plus Reference Manual

Clauses
Enform Plus Reference Manual422684-001
5-68
TIMESTAMP-TIME Clause
TIMESTAMP-TIME Clause
The TIMESTAMP-TIME clause extracts the time portion of a timestamp field that has
been created by the Guardian procedure TIMESTAMP. The syntax of the TIMESTAMP-
TIME clause is:
field-name
is the name of a field to which a time value is returned. The field must be described
in your data dictionary.
Your data dictionary must contain a definition of the field to which the TIMESTAMP-
TIME clause returns a time value. You must define the field as a six-character
alphanumeric field, such as:
05 TIME-STAMP TYPE CHARACTER 6.
The value returned to this field is a quantity in hundredths of a second in internal time
format. You can obtain this value in seconds by using the AS clause with an integer edit
descriptor or by using the AS TIME clause. If you need to obtain this value in
hundredths of a second, you must write your own conversion routine.
See the TIMESTAMP-DATE Clause
on page 5-67 for extracting the date portion of a
timestamp field.
TIMESTAMP-TIME ( field-name )