Syntax 

TimeSerial(Hour, Minute, Second)


Group 

Time/Date 


Description 

Return a Date value.


Parameters

Description

Hour 

This numeric value is the hour (0 to 23).

Minute 

This numeric value is the minute (0 to 59).

Second 

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