The problem is the hour: minute: second, and you will never get the exact section, so you will get zero. Try using
SELECT *
FROM Res
Where DATEDIFF ( day , dateSubmit , '6/17/2010 5:01:26 PM' )=0
For more information see link
"" - , "DatePart" . , .
SELECT *
FROM Res
Where DATEDIFF ( minute, dateSubmit , '6/17/2010 5:01:26 PM' )=0