title: Calculating the number of days between two dates in Objective-C
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2548008/how-can-i-compare-two-dates-return-a-number-of-days">How can I compare two dates, return a number of days</a>  </p>
  </blockquote>
  
  
  
  <p>I have two dates (as NSString in the form "yyyy-mm-dd"), for example:</p>
  
  <pre><code>NSString *start = "2010-11-01";
  NSString *end = "2010-12-01";
  </code></pre>
  
  <p>I'd like to implement:</p>
  
  <pre><code>- (int)numberOfDaysBetween:(NSString *)startDate and:(NSString *)endDate {
  
  }
  </code></pre>