Purpose
Returns the current date-time stamp as a 26-byte displayable date-time stamp. The returned value is in the format CCYY-MM-DD-HH.MM.SS.NNNNNN.
Syntax
►►────┬─ DISPLAY-DATE-TIME ──┬────────── () ──────────────────────────────────►◄ ├─ DISPDT ─────────────┤ └─ DDAT ───────────────┘
Example
In the following example, the DISPDT function is used to move the current date-time stamp to the field DATE-TIME-FIELD. The DISPDT function is executed on August 1, 2007 at approximately 3:37 p.m.
Statement:
MOVE DISPDT() TO DATE-TIME-FIELD
Returned string:
'2007-08-01-15.37.11.876526'
|
Copyright © 2014 CA.
All rights reserved.
|
|