Google Sheets DAY Function

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

Description


The Google Sheets DAY returns a day of a date (from 1 to 31). You can use the DAY function to extract a day number from a given date in google sheets.

The DAY function can be used to get the day of the month as number between 1 to 31 from a given date. The purpose of this function is to get the day as number from a date and its returned values is a number indicating the day component in a date.

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

Syntax


The syntax of the DAY function is as below:

=DAY(date_value)

Where the DAY function arguments is:

  • Date_text -This is a required argument. The date from which to extract the day. it can be a cell reference containing a date or a function returning a date type or a number.

Note:

  • The date_value argument must be a valid date value, or it will return the #VALUE! Error.

Google Sheets DAY Function Examples


The below examples will show you how to use google sheets DAY Function to return the day of a date.

#1 To extract the day of the month from a given date value in Cell B1, just using the following DAY function:

=DAY(B1)

google sheets day function1

Note:  The above excel formula will return the day of the date in Cell B1.

#2 the DAY function can be used to extract a day value and then passed the day value into another function called DATE function. Like below:

=DATE(2021,11,DAY(B1))

google sheets day 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