title: Re-format NSString representing a date
body: <p>How would I convert @"20090302" to @"2009/03/02" or to @"02/03/2009"?</p>
  
  <p>I found the solution and this is the update </p>
  
  <pre><code>NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
  
  [formatter setDateFormat:@"YYYYMMDD"];
  
  
  
  NSDate *date = [formatter dateFromString:yourinoutstring];
  
  
  [formatter setDateFormat:@"DD/MM/YYYY"];
  
  NSString *outDate = [formatter stringFromDate:date];
  </code></pre>