title: While converting NSString to NSDate?
body: <p>I try to convert <code>NSString</code> to <code>NSDate</code> with this code:</p>
  
  <pre><code>NSString *dateString=[[NSString alloc] init];
  dateString = [[messageArray objectAtIndex:i] tim_dte];
  NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
  [dateFormatter setDateFormat:@"HH:mm,yyyy/MM/dd"];
  NSDate *dateFromString = [[NSDate alloc] init];
  dateFromString = [dateFormatter dateFromString:dateString];
  msg.date = dateFromString;
  </code></pre>
  
  <p>But <code>msg.Date</code> is <code>nil</code> even if <code>dateString</code> shows the correct date string. What am I missing?</p>