title: DateTime comparison without time part?
body: <p>I wrote this code. But I want to ignore time, I want to compare only day.</p>
  
  <pre><code>from s in sayac_okumalari
  where s.okuma_tarihi == startDate &amp;&amp; s.sayac_id == sayac_id
  group s by new { date = new DateTime(((DateTime)s.okuma_tarihi).Year, ((DateTime)s.okuma_tarihi).Month, ((DateTime)s.okuma_tarihi).Day, ((DateTime)s.okuma_tarihi).Hour, 1, 1) } into g
  select new
  {
       okuma_tarihi = g.Key.date,
       T1 = g.Sum(x =&gt; x.toplam_kullanim_T1),
       T2 = g.Sum(x =&gt; x.toplam_kullanim_T2),
       T3 = g.Sum(x =&gt; x.toplam_kullanim_T3)
  };
  </code></pre>
  
  <p>for example:</p>
  
  <pre><code>25.02.1987 == 25.02.1987
  </code></pre>