Hour

Mon 01 January 2018

Syntax

Hour(time_value)

Description

Use the Hour function to extract a Number value for the hour of the day based on a time or DateTime value. The value returned is a whole integer and is not rounded to the nearest hour.

Parameters

Field or Control

Definition

time_value

A DateTime or Time value.

Returns

Returns a Number equal to a whole integer value from 0 to 23 representing the hour of the day.