You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.
HOUR
Returns the hour of a dateTime value. The hour is returned as an integer in the range 0 - 23.
Syntax
HOUR ( dateTime )
Inputs
- dateTime - The dateTime value of which the hour must be returned.
Return type
- integer
Examples
Expression | Result | Type |
---|---|---|
HOUR ( DATETIME ( 2015 , 5 , 25 , 00 , 00 , 00 ) ) | 0 | Integer |
HOUR ( DATETIME ( 2015 , 5 , 25 , 23 , 00 , 00 ) ) | 23 | Integer |
Overview
Content Tools