What will be the output of the MS Excel 2007 date formula ‘=DATE(2020,8,31)’ if the selected date format is 'xx-xx-xxxx'?

What will be the output of the MS Excel 2007 date formula ‘=DATE(2020,8,31)’ if the selected date format is 'xx-xx-xxxx'? Correct Answer 31-08-2020

The correct answer is 31-08-2020.

Key Points

  • The selected date format is 'xx-xx-xxxx' which means 'dd-mm-yyyy'.
  • =DATE(2020.8.31) in this function day is 31, month is 8 and year is 2020.

Additional Information

  • The DATE() Function in Excel is categorized under Excel Date/Time Functions.
  • It is the main function used to calculate dates in Excel.
  • The TODAY() function takes no arguments and returns the current date, updated whenever a worksheet is changed or opened.
  • TIME() function is a built-in function that allows you to create a time with individual hour, minute, and second components. 

Related Questions

The different variant of Date() constructor to create date object is/are ___________ i. new Date(date) ii. new Date(milliseconds) iii. new Date(date string) iv. new Date(year, month, date)