Function · Date and time

Excel DAY function

The Excel DAY function returns the day of the month, from 1 to 31. July 4, 2026 returns 4.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =DAY(serial_number)

DAY
=DAY(B1)

Arguments

NameRequiredWhat to pass
serial_numberRequiredA real date. The result is the day of the month, not the day of the week.

Examples

July 4, 2026

=DAY(DATE(2026,7,4))

Result 4

=DAY(B1)B2
Holiday
AB
1Date7/4/2026
2Day4
A picture of the sheet, not a live calculator. 4 is the day of the month. WEEKDAY is the day of the week.

DAY returns the day of the month. July 4, 2026 is 4. It is not the day of the week, and it is not how many days are in the month. The 4 in July 4 and the 4 in April 4 are the same result from DAY. Pair it with MONTH and YEAR when you need the whole date taken apart.

A due-on-the-first test is =DAY(B1)=1. That is true for the first of any month. It does not know about weekends. WORKDAY and NETWORKDAYS are the functions that skip Saturday, Sunday, and a holiday list.