Returns the month for a date as a number between 1 (January) and 12 (December).