title: Format RFC3339 dates
body: <p>I am receiving the following date in string format from the API</p>
  
  <pre><code>2015-04-18 06:08:28.000000
  </code></pre>
  
  <p>I want the date to be in the format of <code>d/M/yyyy</code></p>
  
  <p>I tried the following</p>
  
  <pre><code>NSString *datevalue = (NSString*)value;
  NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
  [formatter setDateFormat:@"d/M/yyyy"];
  NSDate *date =  [formatter dateFromString:datevalue];
  NSString *currentDate = [formatter stringFromDate:date];
  </code></pre>
  
  <p>This returns NIL, what could be the possible issue, or how do i format such dates in objective-c?</p>
  
  <p>Thanks.</p>