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