sysVar.currentTime
The system variable sysVar.currentTime retrieves the current system time in six-digit Julian format (HHMMSS). The value is automatically updated each time it is referenced by your program.
You can use sysVar.currentTime in these ways:
- As the source in an assignment or move statement
- As the argument in a return statement
The characteristics of sysVar.currentTime are as follows:
- Primitive type
- TIME
- Data length
- 6
- Value saved across segments
- No
Example
myTime = sysVar.currentTime;
Related reference
Date and time (system words)
System words in alphabetical order