Extracted Data
1. Overview
Syntax | DAYSOFMONTH(Date) | Returns the number of days of a certain month in a certain year since January 1900. |
---|---|---|
Parameter | Date | Besides the text and date types, the Date parameter can also be of the serial number type for the extracted data. For example, January 1, 1998 is stored as the serial number 35796 in the 1900 date system. |
2. Notes
The function supports only one date or text parameter and will be illegal if more than one date or text parameters are set.
3. Example
Formula | Result | Note |
---|---|---|
DAYSOFMONTH("1900-02-01") | 28 | |
DAYSOFMONTH("2008/04/04") | 30 | |
DAYSOFMONTH(35796) | 31 |
Real-Time Data
1. Overview
Syntax | DAYSOFMONTH(Date) | Returns the number of days of a certain month in a certain year since January 1900. |
Parameter | Date | The Date parameter can only be of the text or data type. |
2. Notes
The function supports only one date or text parameter and will be illegal if more than one date or text parameters are set.
3. Example
Formula | Result | Note |
---|---|---|
DAYSOFMONTH("1900-02-01") | 28 |