currentFormattedTime

The system variable VGVar.currentFormattedTime contains the current system time in HH:mm:ss format. The value is automatically updated each time it is referenced by your program.

You can use VGVar.currentFormattedTime in these ways:
The characteristics of VGVar.currentFormattedTime are as follows:
Primitive type
CHAR
Data length
8
Value saved across segments
No

Example

  timeField = VGVar.currentFormattedTime;
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.