Stores the current time in hh:mm:ss format.
Data Type:
Character (8)
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:
Invoice
{
InvoiceId*
InvoiceDate
InvoiceTime
....
InvoiceAmount
}
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
Time function
Systime function