TIMEVAL(theHour as Integer, theMinute as Integer, theSecond as Integer)
Description
Returns a Time type result by converting the hour, minute, and second inputs to Time format. Hours should be in the range of 0 to 23.
Example
Dim result as Time
Result=TimeVal(14,38,45) 'will set result to the time of 14:38:45(2:38:45 PM)