The code below retrieves the DateTime value of the "DateCreated" column in the table:
var result = from t in db.table select t.DateCreated
I need to retrieve the correct Date values but the time part needs to be 0 for all items in the result.
Is there a way to put back the time part with a value of 00:00:00 as in the pseudo code below?
var result = from t in db.table select p.DateCreated.Value.Date + "00:00:00"