The dateTimeLib.currentTime() system function reads the system clock and returns a TIME value that represents the current time.
dateTimeLib.currentTime( ) returns (result TIME)
In the following example, assume a strLib.defaultTimeFormat of "h:mm a", a null strLib.defaultTimestampFormat, and a time of 13:01:40:
myTime1 STRING = currentTime(); writeStdOut(myTime1); myTime2 TIMESTAMP("HHmmss") = currentTime(); writeStdOut(myTime2); writeStdOut(currentTime());
1:01 PM 13:01:40 1:01 PM