Returns hour of the provided date as an integer constant in the range 0-23
Attribute of the Date type or date constant or calculation producing date
IF HOUR (Account.OpeningDate=12) THEN ...