Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tools : REALTIME

REALTIME
Returns a string containing the current time of day. (F)
Invocation
string = REALTIME
 
The string containing the current time of day. Its syntax is C (fixed-length character string) with length 8.
Usage Notes
The time of day is returned in the format HH:MM:SS; for example, 23:59:59.
Example
The following rule determines the current time of day and prints it to the message log:

 
REALTIME_1;
_ LOCAL TIME;
_ ------------------------------------------------------------------------
_ ------------------------------------------------------------+-----------
_ TIME = REALTIME; | 1
_ CALL MSGLOG('THE CURRENT TIME OF DAY IS: ' || TIME); | 2
_ ------------------------------------------------------------------------

 
Pressing PF2 after executing this rule displays the following:

 
----------------------- INFORMATIONAL MESSAGE LOG ---------------------
COMMAND ===> SCROLL ===> P
THE CURRENT TIME OF DAY IS: 07:42:20

 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved