Description
Returns the day of the month (1 to 31) that corresponds to the date represented by the supplied number.
Syntax
DAY ( number )
Parameter | Description |
---|---|
number | A date represented as:
|
Remarks
The date "1/1/1900" incorrectly returns 2 (rather than 1).
Examples
The following function (where the serial date 41430 represents June 5, 2013) returns 5:
DAY(41430)
The following function returns 21:
DAY("06-21-11")
See also