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 WEEKDAY Function
google sheet weekday function1

This post will guide you how to use Google Sheets WEEKDAY function with syntax and examples. Description The Google Sheets WEEKDAY function returns an integer value representing the day of the week for a given date and the value is ...

Google Sheets TIMEVALUE Function
google sheets timevalue function1

This post will guide you how to use Google Sheets TIMEVALUE function with syntax and examples. Description The Google Sheets TIMEVALUE returns the decimal number of the time represented by a text string. It will convert a time represented by ...

Google Sheets TODAY Function
google sheets today function

This post will guide you how to use Google Sheets TODAY function with syntax and examples. Description The Google Sheets TODAY function get the current date as a date value. And it will be updated each time when your worksheet ...

Google Sheets TIME Function
google sheets time function1

This post will guide you how to use Google Sheets TIME function with syntax and examples. Description The Google Sheets TIME function converts an hour, minute and second into a time. The TIME function can be used to create a ...

Google Sheets SECOND Function
google sheets second function1

This post will guide you how to use Google Sheets SECOND function with syntax and examples. Description The Google Sheets SECOND function returns the seconds of a time value. Or returns an integer value that represent the second component of ...

Google Sheets NOW Function
google sheets now function1

This post will guide you how to use Google Sheets NOW function with syntax and examples. Description The Google Sheets NOW function returns the serial number of the current date and time. And it will be updated each time when ...

Google Sheets NETWORKDAYS.INTL Function
google sheets networkdays.intl function1

This post will guide you how to use Google Sheets NETWORKDAYS.INTL function with syntax and examples. Description The Google Sheets NETWORKDAYS.INTL function returns the number of net working days between tow given days excluding specified weekend days and holidays. The ...

Google Sheets NETWORKDAYS Function
google sheets networkdays function1

This post will guide you how to use Google Sheets NETWORKDAYS function with syntax and examples. Description The Google Sheets NETWORKDAYS function returns the number of net working days between tow given days. The NETWORKDAYS function can be used to ...

Google Sheets MONTH Function
google sheets month function1

This post will guide you how to use Google Sheets MONTH function with syntax and examples. Description The Google Sheets MONTH function returns the month of a date represented by a serial number. And the month is an integer number ...

Google Sheets MINUTE Function
google sheets minute function1

This post will guide you how to use Google Sheets MINUTE function with syntax and examples. Description The Google Sheets MINUTE returns the minutes of a time value. And the minutes is an integer number from 0 to 59. So ...

Sidebar