title: iOS get NSDate from string?
body: <p>I want to convert string <strong>Thu, Nov 22, 2012</strong> to <code>NSDate</code>.</p>
  
  <p>I've tried this:  </p>
  
  <pre><code>NSString *str = @"Thu, Nov 22, 2012";
  
  [dateFormat setDateFormat:@"EEE,MMM dd yyyy"];
  NSDate *date = [dateFormat dateFromString:str];
  NSLog(@"date: %@",date);
  </code></pre>
  
  <p>But i'm getting null.
  What am i doing wrong ?</p>