Skip to main content
SheetCraft
📅 Date & Time Function · beginner

DATE Function in Google Sheets

Constructs a date value from year, month, and day numbers.

Syntax

DATE(year, month, day)

Returns: A date value.

Excel equivalent: DATE (identical)

Parameters

NameRequiredDescription
yearRequired4-digit year.
monthRequiredMonth number. Values outside 1-12 roll over.
dayRequiredDay number. Out-of-range values roll over.

Examples

Build from parts

=DATE(2026, 6, 4)

Returns June 4, 2026.

From cells

=DATE(A1, B1, C1)

Build from year/month/day cells.

End of last month

=DATE(YEAR(A1), MONTH(A1), 0)

Day 0 = last day of previous month.

When to use an alternative

  • DATEVALUESource is text.
  • EOMONTHWant last day of a month.
  • TODAYWant current date.

Common errors and how to fix them

  • Shows as number

    Cause: Format inherited.

    Fix: Format → Number → Date.

  • Wrong year

    Cause: Used 2-digit year.

    Fix: Always pass 4-digit years.

Related functions

Frequently Asked Questions

Out-of-range behavior?

Rolls over correctly. DATE(2026, 13, 1) = Jan 1, 2027.

Date literal in formulas?

DATE(2026, 6, 4) is locale-safe; "2026-06-04" can be misinterpreted.

Source: Google Sheets official function reference.