I am having two date values, one already stored in the database and the other selected by the user using DatePicker. The use case is to search for a particular date from the
You can also use this:
DbFunctions.DiffDays(date1, date2) == 0