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


Chapter 3 Tools : UTCDATE

UTCDATE
Returns the Coordinated Universal Time (UTC) date when UTCDATE is called. (F)
Invocation
date = UTCDATE
 
Usage Notes
Example
The following rule, which uses PAYMENT as an argument, records the amount received and the current UTC date in the table RECEIPTS:

 
RULE EDITOR ===> SCROLL: P
RECEIVED(PAYMENT);
_
_ ---------------------------------------------------------------------------
_ ------------------------------------------------------------+--------------
_ RECEIPTS.AMOUNT = PAYMENT; | 1
_ RECEIPTS.DATE = UTCDATE; | 2
_ INSERT RECEIPTS; | 3
_ ---------------------------------------------------------------------------

 
Resulting Output
When the rule is executed with the argument 67.89, the bottom occurrence is inserted in the table:

 
EDITING TABLE : RECEIPTS
COMMAND ==>
SCROLL: P
NUM DATE AMOUNT
_ ----------- ---------- ----------
_ 1 2005-02-23 34.56
_ 2 2005-03-10 78.56
_ 3 2005-03-18 23.00
_ 4 2005-03-18 67.89

 

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