Data w Whee on DateTime COUNTIM CULULOS MYSQL
You can use MySQL's DATE() function:
WHERE DATE(datetime) = '2009-10-20'
You could also try this:
WHERE datetime LIKE '2009-10-20%'
Ankur