What are the difference between now and current_date in mysql?



What are the difference between now and current_date in mysql?..

Answer / hrindows@gmail.com

NOW
NOW() give you the current date time in the format 'YYYY-MM_DD HH:MM: SS'
CURRENT
CURRENT_DATE() will only give you the current date in format "YYYY-MM_DD"

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MySQL Interview Questions

How do I start mysql in mysql workbench?

0 Answers  


What are string data types?

0 Answers  


What is memory table in mysql?

0 Answers  


How would you get the current date in mysql?

0 Answers  


How do I edit a table in mysql?

0 Answers  






What are the difference between and myisam and innodb?

0 Answers  


What is longblob in mysql?

0 Answers  


What is the purpose of using ifnull() function?

0 Answers  


Is pdo faster than mysqli?

0 Answers  


Is pdo more secure than mysqli?

0 Answers  


What does tinyint mean?

0 Answers  


What is innodb mysql?

0 Answers  


Categories