arrow
arrow
arrow
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'?
Question

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'?

A.

31-08-2020

B.

20-31-08

C.

31/08/2020

D.

2020-31-08

Correct option is A

The DATE(2020,8,31) formula in MS Excel 2007 creates a date value for August 31, 2020. The formula takes three arguments:
· 2020: The year.
· 8: The month (August).
· 31: The day.
When the selected date format is 'xx-xx-xxxx' (which represents day-month-year in this case), Excel will display the date as 31-08-2020, which corresponds to the day-month-year format.
Important Key Points:
1. DATE Function: The DATE function in Excel creates a valid date using year, month, and day as its arguments.
2. Date Formatting: Excel allows you to customize the date format, and in this case, 'xx-xx-xxxx' displays the date in day-month-year format.
Knowledge Booster:
· Date Formatting in Excel: You can change the date format by going to the Format Cells dialog box, selecting Date, and choosing from a variety of date formats, including month-day-year or day-month-year.
· Excel Date Storage: Excel stores dates as serial numbers, but it displays them in the format specified by the user or the system settings.

Free Tests

Free
Must Attempt

SSC GD PYP (Held on 4 Feb 2025 S1)

languageIcon English
  • pdpQsnIcon80 Questions
  • pdpsheetsIcon160 Marks
  • timerIcon60 Mins
languageIcon English
Free
Must Attempt

Hindi Section Test 1

languageIcon English
  • pdpQsnIcon20 Questions
  • pdpsheetsIcon40 Marks
  • timerIcon12 Mins
languageIcon English
Free
Must Attempt

SSC GD Constable Full Mock Test 1

languageIcon English
  • pdpQsnIcon80 Questions
  • pdpsheetsIcon160 Marks
  • timerIcon60 Mins
languageIcon English
test-prime-package

Access ‘Delhi Police Constable’ Mock Tests with

  • 60000+ Mocks and Previous Year Papers
  • Unlimited Re-Attempts
  • Personalised Report Card
  • 500% Refund on Final Selection
  • Largest Community
students-icon
354k+ students have already unlocked exclusive benefits with Test Prime!
Our Plans
Monthsup-arrow