6.1.2.4.1.7 Hour

Function Declaration

 Function Hour(Time As Variant) As Variant  

Parameter

Description

Time

Any data value (section 2.1). The data value SHOULD be Let-coercible to Date.

Runtime Semantics.

§ Time is Let-coerced to Date and an Integer specifying a whole number between 0 and 23, inclusive representing the hour of the day specified by the date is returned.

  • If Time is Null, Null is returned.