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