List of expression elements / Date and time operators |
The CURRENT operator returns the current date and time according to the qualifier.
CURRENT qual1 TO qual2 [(scale)]
The CURRENT operator is used to assign the current system date and time to a DATETIME variable.
The possible qualifiers are the same as in a DATETIME data type definition.
MAIN DISPLAY CURRENT YEAR TO FRACTION(4) DISPLAY CURRENT HOUR TO SECOND END MAIN