Skip to main content

Get-Hour

Command Description

Get the hour of a time

Command Prototype

iRet = Time.Hour(dTime)

Parameter Description

ParameterRequiredTypeDefaultDescription
dTimeTrueexpressiontRetThe time when the data is obtained

return

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

Demo

Dim iRet 
iRet = Time.Hour(44601.623032407)
TracePrint(iRet)
/**
iRet 14
*/