A

Admin • 833.24K Points
Coach

Q. Which MySQL function returns the current date only (without time)?

  • (A) DATE()
  • (B) CURDATE()
  • (C) NOW()
  • (D) CURRENTTIME()
  • Correct Answer - Option(B)
  • Views: 30
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

CURDATE() returns only the current date. NOW() returns date and time. DATE() extracts the date from a given datetime. CURRENTTIME() is not valid.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.