The MONTH function calculates the month from the date_code you enter.
For example,
MONTH(31062)
returns month 1, since the date referred to by the date code is 16th January 1985.
See also:
Other date functions