Home »
MCQs »
MySQL MCQs
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?
- DATETIME()
- TODAY()
- DATE()
- NOW()
Answer: D) NOW()
Explanation:
The NOW() function is used to get the current date and time in MySQL.