RsD0p9BK
12/22/2015 - 11:35 AM

compareDates.sql

-- MySQL compare now() (only date, not time) with a datetime field

SELECT * FROM table1 WHERE DATE(dtime) >= CURDATE();

-- http://stackoverflow.com/questions/14533914/mysql-compare-now-only-date-not-time-with-a-datetime-field
-- TRY SELECT * FROM table1 WHERE dtime >= CURDATE();