currentShortGregorianDate

The vgVar.currentShortGregorianDate system variable contains the current system date in six-digit Gregorian format (yyMMdd). EGL maintains this variable for compatibility with earlier versions. New code should use strLib.formatDate().

The value is numeric, contains no separator characters, and is updated automatically each time your program references it.

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

vgVar.currentShortGregorianDate has the following characteristics:
Primitive type
NUM
Data length
6
Value saved across segments
No

Example

The following example shows the vgVar.currentShortGregorianDate variable:

  myDate = vgVar.currentShortGregorianDate;

Feedback