Easy Tutorial
❮ Func Weekday Func Rtrim ❯

VBScript Hour Function



The Hour function returns a number between 0 and 23 that represents the hour of the day.

Syntax

Parameter Description
time Required. Any expression that can represent a time.

Example

Example 1

Output of the above example:

Example 2

Output of the above example:


❮ Func Weekday Func Rtrim ❯