Answers for "mysql datetime to date"

SQL
0

mysql datetime to date

Use DATE(). Here is an example from https://www.w3schools.com/sql/func_mysql_date.asp 

SELECT DATE("2017-06-15 09:34:21"); // returns 2017-06-15
Posted by: Guest on April-16-2022

Code answers related to "mysql datetime to date"

Code answers related to "SQL"

Browse Popular Code Answers by Language