What are the difference between now and current_date in mysql?
Answers were Sorted based on User's Feedback
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 |
Answer / Ajay Raj Singh
In MySQL, CURRENT_DATE returns the current date (yyyy-mm-dd) and NOW() returns the current date and time (yyyy-mm-dd hh:mm:ss).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between having and where clause in mysql? Explain
What is a mysql server?
How do I find mysql location?
What are the advantages and disadvantages of using mysql?
How to convert character strings to dates?
How can we change the data type of a column of a table?
What is dirty read and phantom read?
What is a delimiter in mysql?
Can we rollback truncate in mysql?
What are features of mysql?
What is max connection in mysql?
What is the datatype for password in mysql?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)