Excel DATE function
Builds a date from the year, month and day. In Spanish Excel it is called FECHA.
Syntax
English Excel
=DATE(year, month, day)
Spanish Excel (Mexico)
=FECHA(año, mes, día)
Spanish Excel (Spain, Latin America)
=FECHA(año; mes; día)
| Argument | What it is |
|---|---|
| year | The year, four digits. |
| month | The month; 13 rolls over to next January. |
| day | The day. |
Example
DATE(year, month, day) builds a date from its parts. A month of 13 rolls over to the next January, so it also adds months or years.
=DATE(A2,B2,C2)
Common mistake
Combine it with LEFT, MID and RIGHT to rescue dates imported as text.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice DATE
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
DATE
DATE(year, month, day) builds a date from its parts. A month of 13 rolls over to the next January, so it also adds months or years.
In D2, build the date from each row’s year, month and day. Notice what happens with month 13.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Year | Month | Day | Date | |
| 2 | 2,026 | 1 | 15 | ||
| 3 | 2,026 | 6 | 30 | ||
| 4 | 2,025 | 12 | 24 | ||
| 5 | 2,027 | 3 | 1 | ||
| 6 | 2,026 | 13 | 5 | ||
| 7 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is DATE called in Spanish?
- In Spanish Excel it is FECHA. The formula =DATE(A2,B2,C2) is written =FECHA(A2;B2;C2) (or with commas in Mexico).
- Why does DATE use semicolons in some Excel versions?
- It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
- What is the most common DATE mistake?
- Combine it with LEFT, MID and RIGHT to rescue dates imported as text.