The DAY function - The function returns the day of the day, month and year in Excel
The following article details how to use the DAY function, the function returns the day of the day, month and year in Excel.
Description: The function takes a date value from a date value. The return value is an integer between 1 and 31.
Syntax: DAY (serial_number) .
Inside:
serial_number is the date value that you want to extract the date value.
For example:
Separate date values from the following dates:
In the cell to calculate enter the formula: DAY (C7) .
Press Enter -> separated date value results:
Copying the formula for the remaining values results in:
If, if the month does not have 31 days, you still enter a date containing 31 days -> the function returns the # VALUE error value ! .
Above is the usage and some notes when using the DAY function in Excel.
Good luck!
You should read it
- How to separate the date, month, and year columns into 3 different columns in Excel
- YEAR - The function returns the year corresponding to a date in Excel
- MONTH function in SQL Server
- SQL Server YEAR function
- MONTH function - The function converts a serial number into a month in Excel
- DAYS360 function - The function returns the number of days between 2 dates, based on 360 days in Excel
- EOMONTH function - The function returns the last day in the month before or after 1 day of a specified number of months in Excel
- DATEPART function in SQL Server
May be interested
- MINUTE function - The function converts a serial number into a minute in Excelminute function: the function returns the minute value of a time value. minutes are returned as integers between 1 and 59.
- MONTH function - The function converts a serial number into a month in Excelmonth function: function performs month value separation in a specific date time month. the return month value is an integer between 1 and 12.
- NOW function - The function returns the current date and time in Excelnow function: the function returns the current date and time. the now function is useful when you want to display the current date and time. the now function does not update continuously, it only updates when you have editing operations on the data area containing it.
- Instructions on how to enter chemical formulas in Excelthe following article details how to enter chemical formulas in excel.
- How to reduce the size and size of Word document files containing imagesthe following article details how to reduce the size of word documents 2016, 2010, 2007 containing images without using additional software.
- How to insert images into Excel spreadsheetsthe following article details how to insert images into excel spreadsheets. for example, want to insert an image as a symbol for the subject.