DAY extracts just the day-of-month number (1-31) from a full date value.
DAY pulls out just the day-of-month portion of a date — turning June 22, 2026 into simply 22.
It is most useful inside formulas that need to test or compare specific calendar days, like flagging anything due on the last day of the month.
=DAY(date)| Argument | Description |
|---|---|
| date required | A date value or a cell containing one. |
=DAY(A2)If A2 is June 22, 2026, returns 22.
=IF(DAY(A2)=1,"First day","Other")Checks whether a date falls on the 1st of its month.
=DAY(EOMONTH(A2,0))Combines DAY with EOMONTH to find how many days are in the month A2 falls in.
DAY returns the day-of-month number (1-31). WEEKDAY returns which day of the week it is (1-7).
ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.
Start practicing free →