I have a table TEST with a DATETIME field, like this:
DATETIME
ID NAME DATE 1 TESTING 2014-03-19 20:05:20.000
This works for me for MS SQL server:
select * from test where year(date) = 2015 and month(date) = 10 and day(date)= 28 ;