A

Admin • 833.24K Points
Coach

Q. Which function returns the current date and time in MySQL?

  • (A) NOW()
  • (B) CURDATE()
  • (C) CURRENT_DATE()
  • (D) CURRENT_TIME()
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

NOW() returns both current date and time. CURDATE() returns only date, and CURRENT_TIME() returns only time.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.