I am trying to execute the following code and am receiving an error
public List GetLoggingData(DateTime LogDate, string title) { var context
Convert LongDate to .ToShortDateStringand then you can use it this way:
.ToShortDateString
EntityFunctions.TruncateTime(t.Timestamp) == LogDate
like mike did