Overview
Syntax | DAYVALUE(Date) | Returns the number of days from the year 1900 to the specified date. |
Parameter | Date | Besides the text and date types, the Date parameter can also be of the serial number type for extracted data. For example, January 1, 1998 is stored as the serial number 35796 in the 1900 date system. ![]() |
Notes
The function supports only one date or text parameter and will be illegal if more than one date or text parameters are set.
Example
Formula | Result | Note |
---|---|---|
DAYVALUE("2008/08/08") | 39667 | The real-time data does not support the format of 2008/08/08, which needs to be written in the format of 2008-08-08. |
DAYVALUE(35796) | 35795 |