Google Sheets DATE Function

This post will guide you how to use Google Sheets DATE function with syntax and examples.

Description


The Google Sheets DATE converts a year, month, and day into a date.

The DATE function can be used to create a valid date from individual year, month and day value in google sheets. The purpose of this function is to create a date with year, month and day and its returned values is a valid date.

The DATE function is a build-in function in Google Sheets and it is categorized as a Date function.

Syntax


The syntax of the DATE function is as below:

= DATE (year, month, day)

Where the VALUE function argument is:

  • Text -This is a required argument. The year component of the date
  • Month – This is a required argument. The month component of the date
  • Day – This is a required argument. The day component of the date

Note:

  • If the year value is between 0 and 1899, google sheets will add that value to 1900 to determine the year.
  • If the year value is between 1900 and 9999, google sheets will use that value as the year value.
  • If year is less than 0 or is greater than 9999, google sheets will return the error value: #NUM!
  • If month is greater than 12, every 12 months will add 1 year to the year value.
  • If the day value is greater than the number of days in the month specified, then it will add that number of days to the first day in the month. For example: DATA(2017,6,32), the DATE function will return “7/2/2017”

Google Sheets DATE Function Examples


The below examples will show you how to use google sheets DATE Function to create a date.

#1 You can use the DATE function to create the dates with hard-coded numbers, just do the following formula:

=DATE(2021,11,15) //it returns “11/15/2021”

google sheets date function1

 

Related Posts

Google Sheets LN Function
google sheets LN function1

This post will guide you how to use Google Sheets LN function with syntax and examples. Description The Google Sheets LN function returns the natural logarithm of a given number.  And the natural logarithms are based on the constant e ...

Google Sheets INT Function
google sheets int function1

This post will guide you how to use Google Sheets INT function with syntax and examples. Description The Google Sheets INT function returns the integer portion of a given number. And it will round a given number down to the ...

Google Sheets FLOOR Function
google sheets floor function1

This post will guide you how to use Google Sheets FLOOR function with syntax and examples. Description The Google Sheets FLOOR function returns a number rounded down to the nearest multiple of significance. So it will return a rounded number. ...

Google Sheets EXP Function
google sheets exp function1

This post will guide you how to use Google Sheets EXP function with syntax and examples. Description The Google Sheets EXP function returns e raised to the power of a number.  The constant e is equal to 2.71828182845904, and it ...

Google Sheets FACT Function
google sheets FACT function1

This post will guide you how to use Google Sheets FACT function with syntax and examples. Description The Google Sheets FACT function returns the factorial of a given number.  The factorial of a given number is equal to 1*2*3…* number. ...

Google Sheets EVEN Function
google sheets even function1

This post will guide you how to use Google Sheets EVEN function with syntax and examples. Description The Google Sheets EVEN function rounds a given number up to the nearest even integer. You can use the EVEN function to return ...

Google Sheets COUNTBLANK Function
google sheets countblank function1

This post will guide you how to use Google Sheets COUNTBLANK function with syntax and examples. Description The Google Sheets COUNTBLANK function use to count the number of empty cells in a range of cells. You can use the COUNTBLANK ...

Google Sheets DEGREES Function
google sheets degrees function1

This post will guide you how to use Google Sheets DEGREES function with syntax and examples. Description The Google Sheets DEGREES function converts radians into degrees. And it will return a numeric value. For examples, if you pass the PI() function into ...

Google Sheets COSH Function
google sheets cosh function1

This post will guide you how to use Google Sheets COSH function with syntax and examples. Description The Google Sheets COSH function returns the hyperbolic cosine of a given angle. The purpose of this function is used to get hyperbolic ...

Google Sheets COS Function
google sheets cos function1

This post will guide you how to use Google Sheets COS function with syntax and examples. Description The Google Sheets COS function returns the cosine of a given angle. If you want to supply an angle to COS function in ...

Sidebar