I have a table TEST with a DATETIME field, like this:
DATETIME
ID NAME DATE 1 TESTING 2014-03-19 20:05:20.000
SELECT * FROM test where DATEPART(year,[TIMESTAMP]) = '2018' and DATEPART(day,[TIMESTAMP]) = '16' and DATEPART(month,[TIMESTAMP]) = '11'