TimeSerial Function

Syntax

TimeSerial(Hour, Minute, Second)

Group

Time/Date

Description

Return a Date value.

Parameters

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).

Example


Sub Main
    Debug.Print TimeSerial(13,30,0) '1:30:00 PM
End Sub

See also

DateSerial, DateValue, TimeValue