cara mendapatkan tanggal dari datetime di mysql
SELECT DATE(ColumnName) FROM tablename;
Islamation
SELECT DATE(ColumnName) FROM tablename;
WHERE DATE(datetime) = '2009-10-20'