title: Adding days to NSDate
body: <p>I want add days to an <code>NSDate</code>. The approach below is not working. Can someone help me fix this issue?</p>
  <pre><code>int daysToAdd=[[appDlegateObj.selectedSkuData 
                                      objectForKey:@&quot;Release Time&quot;] intValue];
  
  NSTimeInterval secondsForFollowOn=daysToAdd*24*60*60;
  
  NSString *dateStr=[contentDic objectForKey:@&quot;Date&quot;];
  
  NSDateFormatter *dateFormatter=[[NSDateFormatter alloc]init];
  
  [dateFormatter setDateFormat:@&quot;yyyy-MM-dd&quot;];
  
  NSDate *dateFromString=[[NSDate alloc]init];
  
  dateFromString=[dateFormatter dateFromString:dateStr];
  
  [dateFormatter release];
  
   NSDate *date=[dateFromString dateByAddingTimeInterval:secondsForFollowOn];
  </code></pre>