TIMESTAMP-DATE
The TIMESTAMP-DATE clause extracts the date portion of a timestamp field that has
Clause
been created by the GUARDIAN procedure TIMESTAMP. The syntax of the
TIMESTAMP-DATE clause is:
TIMESTAMP-DATE ( field-name )
field-name
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:
The value returned to this field is a quantity of days in internal format.
Refer to the TIMESTAMP-TIME clause in this section for extracting the time portion of
a timestamp field.
058057 Tandem Computers Incorporated
is the name of a field to which the TIMESTAMP-DATE clause returns a date value.
The field must be described in the dictionary.
05
TIME-STAMP
TYPE CHARACTER 6.
Clauses
TIMESTAMP-DATE Clause
5–67