Skip to main contentSkip to solution

Consider the following two statements (A) and (B).

(A). MONTHNAME("2025-11-29");

(B). MONTH("2025-11-29");

What is the output of above two statements?

Solution

✅ Correct Option: 2

MONTHNAME() returns the full name of the month from a date, so MONTHNAME("2025-11-29") gives November.

MONTH() returns the month as a number from 1 to 12, so MONTH("2025-11-29") gives 11.


Option 1: swaps the two outputs; the name comes from MONTHNAME(), not MONTH().

Option 3: MONTHNAME() returns the full name "November", not the abbreviation "Nov".

Option 4: 29 is the day, which DAY() or DAYOFMONTH() would return, not MONTH().

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question