Hour Property

       

Returns or sets a value that specifies the current hour that is displayed.

Syntax

object.Hour [= value]

The Hour property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value A numeric expression that specifies the current hour that is displayed.

Remarks

The Hour property can be any integer from 0 to 23.