HOUR Returns the hour as a number from 0 (12:00 A.M.) to 23 (11:00 P.M.).
Syntax
HOUR(datetime)
Parameters
datetime – A datetime value, such as 16:48:00 or 4:48 PM.
Return Value
An integer number from 0 to 23.
Reference Data
https://docs.microsoft.com/en-us/dax/dax-function-reference