VBScript » Functions » Hour

Version: 1.0

Syntax:
Hour(Time)

The Hour function returns the hour by using the Time function as an argument.

Examples

Code:
<% =Hour(Time) %>
Output:
14
Explanation:

The output is base upon a 24 clock (military time, values will run from 0 to 23).

Language(s): VBScript

See Also: