title: DbArithmeticExpression arguments must have a numeric common type
body: <pre><code>TimeSpan time24 = new TimeSpan(24, 0, 0);
  TimeSpan time18 = new TimeSpan(18, 0, 0);    
  
  // first get today's sleeping hours
  List&lt;Model.Sleep&gt; sleeps = context.Sleeps.Where(
      o =&gt; (clientDateTime - o.ClientDateTimeStamp &lt; time24) &amp;&amp; 
            o.ClientDateTimeStamp.TimeOfDay &gt; time18 &amp;&amp; 
            clientDateTime.TimeOfDay &lt; time18 &amp;&amp; 
            o.UserID == userid).ToList(); 
  </code></pre>
  
  <p>This Linq expression throws this exception:</p>
  
  <pre><code>DbArithmeticExpression arguments must have a numeric common type.
  </code></pre>
  
  <p>Please Help!</p>