title: Core Data Predicate Date Comparison
body: <p>Im trying to fetch all the objects in an entity matching a user selectedDate (it's an NSDate).
  The Core Data code is fine but my predicate keeps returning 0 results, the dates are the same in the database as the user is selecting.</p>
  
  <p>How should the selectedDate be compared with a date from an entity using a predicate?</p>
  
  <pre><code>NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(eDate = %@)", selectedDate];
  </code></pre>