currentFormattedTime

The vgVar.currentFormattedTime system variable contains the current system time in HH:mm:ss format. EGL maintains this variable for compatibility with earlier versions. New code can use strLib.formatTime().

The value is automatically updated each time it is referenced by your program.

You cannot use vgVar.currentFormattedGregorianDate as the target of an assignment or move statement.

vgVar.currentFormattedTime has the following characteristics:
Primitive type
CHAR
Data length
8
Value saved across segments
No

Example

The following example shows the vgVar.currentFormattedTime variable:

  timeField = vgVar.currentFormattedTime;

Feedback