sysVar.currentShortJulianDate

The system variable sysVar.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 sysVar.currentShortJulianDate as the source in an assignment or move statement or as the argument in a return or exit statement.

The characteristics of sysVar.currentShortJulianDate are as follows:

Primitive type

NUM

Data length

5

Value saved across segments

No

Example

  myDay = sysVar.currentShortJulianDate;

Related reference
Date and time (system words)