The DATE function is used to return the sequential serial number that represents a particular date.
Note : If the cell format was General before the function was entered, the result is formatted as a date instead of a number. To view the serial number or to change the formatting of the date change the cell format.
Version: Excel 2013
|Year||The value of the year argument can include one to four digits. By default, Microsoft Excel for Windows uses the 1900 date system.||Number||Required|
|Month||A positive or negative integer representing the month of the year from 1 to 12 (January to December).||Number||Required|
|Day||A positive or negative integer representing the day of the month from 1 to 31||Number||Required|
Important Points :
Excel stores date as sequential serial numbers so that they can be used in calculations. January 1, 1900, is serial number 1, and January 1, 2010, is serial number 40179 because it is 40178 days after January 1, 1900.
Example - 1
The example below shows the serial data or the date derived by using year as 2004 and month as 12 and day as 22.
Example - 2
The serial date for the last day of the current year.
Example - 3
The example below shows that, a formula that converts the text string in A4 (20141220) representing a date in a "YYYYMMDD" format to a date.