Converts the expression into a date, and removes any hours, minutes, or seconds.
DATE ( expression )
expression The value to be converted to date format. The expression is usually a string.
The following statement returns the value 1988-11-26 as a date.
SELECT DATE( '1988-11-26 21:20:53' ) FROM iq_dummy