getmonth() Method

Return the month of a date as a number from 0 to 11.