linq compare date without time c# code example Example: linq compare dates without time DbFunctions.TruncateTime(dateTimeToFormat)