Hour

Description

Accepts a Time and returns the hour portion as an integer (0-23).

Syntax

Hour ( time )

Arguments

time is a time value.

Example

Hour(NumberToTime(101200000000))

Evaluates to 10.

Remarks

If time is null, Hour returns null.

Hour works with both Time and DateTime values.