in reply to Re: Detecting 1 day agoin thread Detecting 1 day ago
select count(*) from mytable where TO_DAYS(datecol) > TO_DAYS(NOW()) - + 1 [download]