title: cocoa: how can i convert nsdate to nstimeinterval in cocoa?
body: <pre><code> NSDate *newDate=[newDate dateByAddingTimeInterval:difference];
  </code></pre>
  
  <p>Now I want to convert this newDate to NStimeInterval.</p>
  
  <p>How can I do this conversion?</p>