Which MySQL function is used to get the current date and time?

45. Which MySQL function is used to get the current date and time?

  1. DATETIME()
  2. TODAY()
  3. DATE()
  4. NOW()

Answer: D) NOW()

Explanation:

The NOW() function is used to get the current date and time in MySQL.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.