{{tag>Function Function_List Date_And_Time}} ====== HOUR ====== ===== Description ===== Returns hour of the provided date as an integer constant in the range 0-23 ===== Syntax ===== ''HOUR (date)'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== Attribute of the Date type or date constant or calculation producing date ===== Returns ===== **Number**: the hour of the given date, 0-23. ===== Example ===== IF HOUR (Account.OpeningDate) = 12 THEN ... ===== Related ===== [[ref:a_f:f:af:minute|MINUTE]], [[ref:a_f:f:af:current_hour|CURRENT_HOUR]], [[ref:a_f:f:af:hours|HOURS]], [[ref:a_f:f:af:time_add|TIME_ADD]]