title: Remove milliSeconds from String in iOS
body: <p>Trying to remove milli seconds from String(date)</p>
  
  <pre><code>NSString *dateString = @"2016-05-16 13:17:34.674194";
   NSDateFormatter* formater = [[NSDateFormatter alloc] init];
   [formater setDateFormat:@"dd/MM/yyyy HH:mm:ss"];
   NSDate *date = [formater dateFromString:dateString];
   NSLog(@"%@",[formater stringFromDate:date]);
  </code></pre>
  
  <p>and i'm getting null</p>
  
  <p>i'm expecting o/p something like (with out milli seconds)</p>
  
  <p>"06/05/2016 13:17:34"</p>
  
  <p>Please suggest...</p>