Feb
12
sameple 1: select * from table where datediff(createdate, NOW())=’0′;”);
sameple 2: select * from table where createdate>subDate(NOW(), ‘1’);
reference: http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html
no comment untill now