MONTH

Returns the month of the provided date as an integer constant in the range 1-12

Attribute of the Date type or date constant or calculation producing a date

IF MONTH(Account.OpeningDate)=12 THEN ...