currentTime()

The system function DateTimeLib.currentTime retrieves the current system time in six-digit format (HHmmss). The value is automatically updated each time it is referenced by your program.

  DateTimeLib.currentTime( )
  returns (result TIME)
result
A TIME value that represents the current system time.
You can use DateTimeLib.currentTime in these ways:

The characteristics of DateTimeLib.currentTime are as follows:

Primitive type
TIME
Data length
6
Value saved across segments
No

Example

  myTime = DateTimeLib.currentTime;

Related reference
EGL library DateTimeLib

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.