# Returns the number of days in a month : MONTH « Date Time functions « Microsoft Office Excel 2007 Tutorial

Home
Microsoft Office Excel 2007 Tutorial
 1 Introduction 2 Editing 3 Format Style 4 Table 5 Chart 6 Formula 7 Workbook Worksheet 8 Wordart Clip Art Shape Picture 9 PivotTable PivotChart 10 Data Analysis 11 Macro ActiveX Add in 12 Security 13 Collaboration 14 Database functions 15 Date Time functions 16 Engineering functions 17 Information functions 18 Logical functions 19 Lookup Reference functions 20 Math Trigonometry functions 21 Statistical functions 22 Text functions
 Microsoft Office Excel 2007 Tutorial » Date Time functions » MONTH
15.8.3.Returns the number of days in a month
 `Input the formula: =DAY(DATE(YEAR(A1),MONTH(A1)+1,0))`
 15.8.MONTH 15.8.1. MONTH(serial_number) converts a serial number to a month 15.8.2. Determining the Last Day of a Month 15.8.3. Returns the number of days in a month 15.8.4. Determining Whether a Year Is a Leap Year 15.8.5. Returns an integer between 1 and 4 that corresponds to the calendar quarter for the date