Skip to main contentSkip to solution

Which of the following SQL functions are used to perform operations on date?

(A) DATE()

(B) MONTH()

(C) NOW()

(D) CURRTIME()

Solution

✅ Correct Option: 4

DATE() extracts the date part of a date-time value, MONTH() returns the month number from a date, and NOW() returns the current date and time. All three work with dates, so (A), (B) and (C) are correct.


Options 1, 2 and 3: they include (D), but CURRTIME() is not an SQL function. The real MySQL function is CURTIME() (or CURRENT_TIME()), and it returns only the time, not the date.

Keyboard Shortcuts

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