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


Chapter 3 Tools : UTCTIME

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

 
UTCTIME_1;
_ LOCAL TIME;
_ -----------------------------------------------------------------------
_ -----------------------------------------------------------+-----------
_ TIME = UTCTIME; | 1
_ CALL MSGLOG('THE CURRENT UTC TIME IS: ' || TIME); | 2
_ ------------------------------------------------------------------------

 
Pressing PF2 after executing this rule displays the following:

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

 

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