Time3

Mon 01 January 2018

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

Field or Control

Definition

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.