Construct-Time
Command Description
Construct a time based on hour, minute and second
Command Prototype
dTime = Time.TimeSerial(iHour, iMinute, iSecond)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
iHour | True | number | 12 | The hour of the time to construct |
iMinute | True | number | 0 | The minute of the time to construct |
iSecond | True | number | 0 | The 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
*/