title: date difference in EF4
body: <p>i need to get a difference of two dates ,one date from a table and one the current date, and the difference should be less than 9 0days. i need to use this as filter in where clause of the linq
  i tried doing this </p>
  
  <p>var list = from p in context.persons
             where ((p.CreateDT).Subtract(DateTime.Now).Days &lt; 90)
            select p;</p>
  
  <p>i get this excpetion : </p>
  
  <p>LINQ to Entities does not recognize the method 'System.TimeSpan Subtract(System.DateTime)' method, and this method cannot be translated into a store expression.</p>
  
  <p>I did research other articles but nothing helped..Any ideas</p>