title: Comparing dates in linq
body: <p>I would like to query the db for items with a date greater than or equal to a given date.</p>
  
  <p>The date in the db is a datetime and records time.</p>
  
  <p>If the user enters the search string "1/30/2014", they expect entries that occurred at any time on that date to be returned. However, anything that has a time after 12 am is not returned.</p>
  
  <p>I know I could simply add a day to the search string, but is there a more appropriate way?</p>
  
  <pre><code>if (form["closedend"] != "")
  {
       DateTime d = DateTime.Parse(form["closedend"]);
       traces = traces.Where(s =&gt; s.date_Closed &gt;= d);
  }
  </code></pre>