Enform Plus Reference Manual
Clauses
Enform Plus Reference Manual—422684-001
5-67
TIMESTAMP-DATE Clause
TIMESTAMP-DATE Clause
The TIMESTAMP-DATE clause extracts the date portion of a timestamp field that has
been created by the Guardian procedure TIMESTAMP. The syntax of the TIMESTAMP-
DATE clause is:
field-name
is the name of a field to which the TIMESTAMP-DATE clause returns a date value.
The field must be described in the dictionary.
You must define the field that receives the date value from the TIMESTAMP-DATE
clause in your data dictionary. 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 of days in internal format.
See the TIMESTAMP-TIME Clause
on page 5-68 for extracting the time portion of a
timestamp field.
TIMESTAMP-DATE ( field-name )