Time3 function
Syntax
Time3(hours, mins, secs)
Description
Use the Time3 function to derive a Time value from three supplied numbers. It can be used to assign values to Time fields and variables, since Time values cannot be directly represented as constants.
Parameters
| Parameter | Description |
|---|---|
|
hours |
A Number in the form HH between 00 and 23, representing hours on a 24-hour clock. |
|
mins |
A Number in the form MM between 00 and 59, representing minutes of the hour. |
|
secs |
A Number in the form SS[.SSSSSS], between 00 and 59.999999, representing seconds. |
Returns
Returns a Time value based equal to the sum of the three input values representing hours, minutes, and seconds, to a precision of .000001 second.
Example
The example sets &START_TIME to 11.14.09.300000:
&START_TIME = Time3(11,14,9.3);
Related Topics