{{tag>Function Function_List Date_And_Time}} ====== MONTH ====== ===== Description ===== Returns the month of the provided date as an integer constant in the range 1-12 ===== Syntax ===== ''MONTH (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 a date ===== Returns ===== **Number**: the month of the date, an integer from 1 to 12. ===== Example ===== IF MONTH (Account.OpeningDate)=12 THEN ... ===== Related ===== [[ref:a_f:f:af:month_text|MONTH_TEXT]], [[ref:a_f:f:af:current_month|CURRENT_MONTH]], [[ref:a_f:f:af:year|YEAR]], [[ref:a_f:f:af:day_of_month|DAY_OF_MONTH]]