The DATE function forms a date from values that represent the year, month, and day. 

DATE(Year, Month, Day)

ArgumentData typeDescription
YearNumberA four-digit number that represents the year.
MonthNumberA number between 1 and 12 that represents the month.
DayNumberA number between 1 and 31 that represents the day.

The DATE function returns a date.

The format used to display the date depends on your OS/browser settings. For example, the U.S. date format displays the month before the day (mm/dd/yyyy).

  • The month must be a number between 1 and 12, inclusive.
  • The day must be a number between 1 and 31, inclusive.
  • The values must represent a valid date (01/01/1900 —12/31/2399).

DATE

You can enter values directly into the DATE formula, or reference line items or list properties that are number formatted. 

FormulaDescriptionResult for U.S. date format
DATE(2018, 12, 25)This example shows how you can enter values directly into your formula.12/25/2018
DATE(Previous Year, Start Month, 3)This example shows how you can reference line items or list properties in your formula.03/01/2017
DATE(2018.3, 2.65, 8.4)This example shows how the DATE function will round to the nearest whole number.03/08/2018

In this example, the line items Day, Month, and Year are in Number format. The line item Date returns the Date format of the numeric line items using the formula DATE(Year, Month, Date).


abcde
Day14261610
Month64589
Year2,0212,0252,0242,0222,023
Date
DATE(Year, Month, Date)
01/06/202104/04/202526/05/202416/08/202210/09/2023

In this example, the line items Day, Month, and Year are in Text format. The date format requires numerical data, so you need to convert these text data to a number using VALUE, and then convert it to a date using DATE. The line item Date returns the Date format of the line items using the formula DATE(VALUE(Year), VALUE(Month), VALUE(Day)).


abcde
Day20616310
Month25689
Year20252023202120222024
Date
DATE(VALUE(Year), VALUE(Month), VALUE(Day))
20/02/202506/05/202316/06/202103/08/202210/09/2024