title: How to compare two dates in iOS
body: <p>I want to compare two dates.This my code i wrote</p>
  
  <pre><code>NSDate *c_date=[NSDate date];
  
  NSDate  *newDate = [c_date dateByAddingTimeInterval:300];
  </code></pre>
  
  <p>This code is not working?What i am missing?</p>