TimeSerial(9, 0, 0) returns 9:00:00 AM : TimeSerial « Date Functions « VBA / Excel / Access / Word






TimeSerial(9, 0, 0) returns 9:00:00 AM

 
Sub timeDemo()
    Debug.Print TimeSerial(9, 0, 0)
End Sub

 








Related examples in the same category

1.TimeSerial(hour, minute, second) returns a Variant/Date containing the time for the specified hour, minute, and second
2.Scheduling a Macro to Run x Minutes in the Future