MonthOfYearBracket(x)

This function returns the month and the year for a given date (a number with the format YYYYMM).

Example:

MonthOfYearBracket('31/12/2022')=202212