1. Home
  2. Functions
  3. Date and time
  4. DATE

DATE function

Builds a date from a year, a month and a day; months and days past the end roll over.

Syntax

=DATE(year, month, day)

Arguments

ArgumentRequiredDescription
yearRequiredThe year (0 to 1899 are added to 1900)
monthRequiredThe month, 1 to 12 (others roll over into other years)
dayRequiredThe day of the month (others roll over into other months)

How to use DATE

DATE takes 3 required arguments. Type =DATE( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=DATE(2024, 3, 15)Result 45366, shown as 3/15/2024 with a date format
=DATE(2024, 14, 1)Result 45689, shown as 2/1/2025 with a date format
=DATE(108, 1, 2)Result 39449, shown as 1/2/2008 with a date format

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.