The VBA Month function returns an integer that corresponds to the month of the specified date.
Month(date)
Using the Month function to get the relevant information from a date:
Sub MonthExample1()
maDate = #10/30/2020#
MsgBox Month(maDate) 'Returns: 10
end sub
This function also accepts dates in text format:
Sub MonthExample2()
maDate="10/30/2020"
MsgBox Month(maDate) 'Returns: 10
end sub