{{tag>Function Function_List Date_And_Time}} ====== CURRENT_HOUR ====== ===== Description ===== Returns current hour as an integer constant in the range 0-23 ===== Syntax ===== ''CURRENT_HOUR'' Can be used in the condition of a [[:ref:a_f:a:find|FIND]] action. ===== Parameters ===== None ===== Returns ===== **Number**: the current hour (0-23) ===== Example===== IF CURRENT_HOUR = 12 Then DISPLAY MESSAGE 'Midday!' ===== Related ===== [[ref:a_f:f:af:current_minute|CURRENT_MINUTE]], [[ref:a_f:f:af:hour|HOUR]], [[ref:a_f:f:af:current_timestamp|CURRENT_TIMESTAMP]]