TimeSerial Function
Syntax
TimeSerial(Hour, Minute, Second)
Group
Description
Return a Date value.
Parameters |
Description |
This numeric value is the hour (0 to 23). |
|
This numeric value is the minute (0 to 59). |
|
This numeric value is the second (0 to 59). |
See Also
DateSerial, DateValue, TimeValue
Example
Sub Main
Debug.Print TimeSerial(13,30,0) '1:30:00 PM
End Sub