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


Chapter 3 Tools : MINUTE

MINUTE
Returns the minute in the hour the transaction started based on the local machine’s time zone in which the Execution Environment is running. (F)
Invocation
time = MINUTE
 
On return, contains the minute. Its syntax is C (fixed-length character string) with length 2.
Usage Notes
The returned value is a character string containing the number of minutes (00, 01, 02, …, 59).
Example
The following rule determines the minute when the current transaction started and prints it to the message log:

 
RULE EDITOR ===>
MINUTE_1;
_ LOCAL TIME;
_ ------------------------------------------------------------------------
_ ------------------------------------------------------------+-----------
_ TIME = HOUR || ':' || MINUTE;                               | 1
_ CALL MSGLOG('THIS TRANSACTION WAS STARTED AT ' || TIME);    | 2
_ ------------------------------------------------------------------------

 
Output for the MINUTE_1 Rule:
Pressing PF2 after executing this rule displays the following:

 
----------------------- INFORMATIONAL MESSAGE LOG --------------------
COMMAND ===> SCROLL ===> P
THIS TRANSACTION WAS STARTED AT 13:17

 

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