Stores the current time in hh:mm:ss format.
Objects: Procedure, Transaction, Web Panel
The &Time standard variable contains the value of the Time function stored at the beginning of the program.
In case it’s used in a Procedure header, the time will be displayed every time the header is evaluated, and not when the page is printed.
Consider the Invoice Transaction:
InvoiceTime = &Time if on BeforeInsert;
The &Time variable is evaluated at the beginning of the Transaction so the recorded time corresponds to that moment.
If the Time() function is used:
InvoiceTime = Time() on BeforeInsert;
The assigned value corresponds to the moment in which the rule is evaluated.
Built-in Variable List