I have issutime table in my database and it has the following format:
When i perform search by exact date and time i am getting the results. But what i want is to perform search only with date. For example: 2014-02-28 should return all the results with that date.
This is my code:
var date = Convert.ToDateTime(search);
return View(db.newsletter.Where(x => x.issuetime == date).ToList());
Any idea?