currentJulianDate
The vgVar.currentJulianDate system variable contains the current system date in seven-digit Julian format (yyyyDDD). EGL maintains this variable for compatibility with earlier versions. New code can use dateTimeLib.currentDate(), which returns the current system date in DATE format.
The value is numeric, contains no separator characters, and is updated automatically each time your program references it.
You cannot use vgVar.currentJulianDate as the target of an assignment or move statement.
vgVar.currentJulianDate has the following
characteristics:
- Primitive type
- NUM
- Data length
- 7
- Value saved across segments
- No
Example
The following example shows the vgVar.currentJulianDate variable:
myDate = vgVar.currentJulianDate;