Skip to main content

Construct-Time

Command Description

Construct a time based on hour, minute and second

Command Prototype

dTime = Time.TimeSerial(iHour, iMinute, iSecond)

Parameter Description

ParameterRequiredTypeDefaultDescription
iHourTruenumber12The hour of the time to construct
iMinuteTruenumber0The minute of the time to construct
iSecondTruenumber0The second of the time to construct

return

dTime,The variable used to save the output of the command.

Demo

Dim dTime 
dTime = Time.TimeSerial(15, 20, 0)
TracePrint(dTime)
/**
dTime = 0.63888888888889
*/