title: Writing a NSPredicate to find if the date falls between a certain range
body: <p>I need to write a NSPredicate to see if the provided date falls between a certain time internal.</p>
  
  <p>For example if i provide the data <code>12 Mar, 2012</code>. It needs to see if it falls between the <code>startdate</code> and <code>enddate</code></p>
  
  <pre><code>NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(statrDate &gt;= %@) AND (enddate &lt;= %@)", providedDate, ProvidedDate];
  </code></pre>
  
  <p>1.) in the above example <code>startdate</code> is <code>10 Mar 2012</code>, and <code>endDate</code> is <code>20 Mar 2012</code>. But the <code>NSPredicate</code> doesn't return anything because i have specified 12 Mar 2012 as <code>providedDate</code>.</p>
  
  <p>2.) Can i make use of the <code>BETWEEN</code> clause so this scenario </p>