currentShortJulianDate

The system variable VGVar.currentShortJulianDate contains the current system date in five-digit Julian format (yyDDD). Avoid using this variable, which exists to support code migration from VisualAge® Generator to EGL.

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

You can use VGVar.currentShortJulianDate as the source in an assignment or move statement or as the argument in a return or exit statement.

The characteristics of VGVar.currentShortJulianDate are as follows:
Primitive type
NUM
Data length
5
Value saved across segments
No

Example

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