Function · Date and time

Excel DATE function

The Excel DATE function builds a date from a year, month, and day. DATE(2026,7,4) is July 4, 2026, and month 13 rolls into the next year.

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

Syntax =DATE(year, month, day)

DATE
=DATE(2026,7,4)

Arguments

NameRequiredWhat to pass
yearRequiredThe year. 2026 is the year 2026. A value from 0 to 1899 is added to 1900, which is rarely what you want.
monthRequiredThe month, usually 1 to 12. 13 is January of the next year. 0 is December of the previous year.
dayRequiredThe day of the month. 0 is the last day of the previous month. Extra days roll forward.

Examples

Independence Day 2026

=DATE(2026,7,4)

Result July 4, 2026

=DATE(B1,B2,B3)B4
Holiday
AB
1Year2026
2Month7
3Day4
4Date7/4/2026
A picture of the sheet, not a live calculator. B1, B2, and B3 are numbers. B4 is a date serial.

DATE builds a real date serial from three numbers. =DATE(2026,7,4) is July 4, 2026, in a US format 7/4/2026. The point of the function is that the month is the second number you pass, not whatever order the computer uses when it reads the text 7/4/2026.

Out-of-range parts roll instead of returning an error. =DATE(2026,13,1) is January 1, 2027. =DATE(2026,7,0) is June 30, 2026, the day before July starts. That rollover is useful for end-of-month math and surprising when a month number was off by one. A two-digit year from 0 through 1899 is added to 1900, so 26 becomes 1926. Pass four digits.