title: Comparing two dates by week in a .NET entity framework LINQ query?
body: <p>Is there an easy way of comparing weeks in two dates like this...</p>
  
  <pre><code>var times = (from d in db.TimeSet
               where d.EventDate.Week) == DateTime.ThisWeek &amp;&amp;                         
               d.Employee.Username == username
               select d).ToList();
  </code></pre>