How would you find all rows in a table that have a time matching a particular day?
The SQL DataType for the column Time
is datetime
.
For example, let's say you want all rows from 9/20/2014 and the table column Time
looks like this...2014-09-20 17:02:05.903
var query = from t in SomeTable
where t.Time // don't know what goes here
select t;