title: Convert date to string with different date format ios?
body: <p>I search some stack quentions for converting string to date and that's working fine, but i convert my string date to NSDate than it's return me nil. Here is my code :</p>
  
  <pre><code>   NSString *dateStr = @"2016-07-29 09:05";
      NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
      [dateFormat setDateFormat:@"yyyy-MM-ddTHH:mm:ss.SSSZ"];
      NSDate *date = [dateFormat dateFromString:dateStr];
  </code></pre>
  
  <p>I want to convert this date to <code>yyyy-MM-ddTHH:mm:ss.SSSZ</code> this formate.</p>
  
  <p>What's problem here ?</p>