Google Sheets DATE function

Builds a date from the year, month and day. In Spanish Sheets it is called FECHA.

Syntax

English Sheets

=DATE(year, month, day)

Spanish Sheets (Mexico locale)

=FECHA(año, mes, día)

Spanish Sheets (Spain, Latin America)

=FECHA(año; mes; día)

ArgumentWhat it is
yearThe year, with 4 digits.
monthThe month; 13 rolls over to the next January.
dayThe 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

Use it to rescue dates that arrived as text, combined with LEFT, MID and RIGHT.

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.

Advertising
Loading ad...

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.

Example=DATE(A2,B2,C2)FECHA = DATE

In D2, build the date from each row’s year, month and day. Notice what happens with month 13.

D2
ABCDE
1YearMonthDayDate
22026115
32026630
420251224
5202731
62026135
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 Google Sheets it is FECHA. The formula =DATE(A2,B2,C2) is written =FECHA(A2;B2;C2) (or with commas under a Mexico locale).
Why does DATE use semicolons in some spreadsheets?
It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
What is the most common DATE mistake?
Use it to rescue dates that arrived as text, combined with LEFT, MID and RIGHT.