Google Sheets DAYS Function

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

Description


The Google Sheets DAYS  returns the number of days between two dates.

The DAYS function can be used to get the number of days between two given dates in google sheets. The purpose of this function is to get days between dates and its returned values is a number indicating days.

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

Syntax


The syntax of the DAYS function is as below:

= DAYS (end_date,start_date)

Where the DAYS function arguments is:

  • End_date -This is a required argument. The end of the date
  • Start_date – this is a required argument. The start of the date

Note:

  • Both two date arguments must be a valid date value, or it will return the #VALUE! Error.
  • The DAYS function only works with whole numbers.
  • If end dates and start dates are reversed, the DAYS function will return a negative number.
  • The DAYS function will return all days between two dates. If you want to calculate all working days between dates, you can use the NETWORKDAYS function in google sheets.

Google Sheets DAYS Function Examples


The below examples will show you how to use google sheets DAYS Function to return the number of days between end_date and start_date.

#1 =DAYS (B2,B1)

google sheets days function1

Note: the above google sheets formula returns the number of days (1492) between the end date (2025/11/12) and start date (2021/10/12).

 

 

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