Time function
Syntax
Time(n)
Description
Use the Time function to derive a Time value from a Number value. Use it to assign values to Time fields and variables, since Time values cannot be directly represented as constants.
Parameters
| Parameter | Description |
|---|---|
|
n |
A Number in the form HHMMSS[.SSSSSS], representing a time to a precision of up to .000001 second, based on a 24-hour clock. |
Returns
Returns a Time value based on the number n.
Example
The example sets &START_TIME to 12:34:56.123456:
&START_TIME = Time(123456.123456);
Related Topics