title: Date from a string iOS
body: <p>My dateString is like the following: Tue, 08 Nov 2011 08:42:35
  I tried to parse it using NSDateFormatter and following is the code:</p>
  
  <pre><code>NSString *dateString = @"Tue, 08 Nov 2011 08:42:35";
  NSDateFormatter *dateFormat = [[NSDateFormatter alloc] init];
  [dateFormat setDateFormat:@"EEE, d MMM YYYY'T'HH:mm:ss"];
  NSDate *publishedDate = [dateFormat dateFromString:dateString];
  </code></pre>
  
  <p>But it always returns nil to publishDate.</p>
  
  <p>Please help me.</p>
  
  <p>Thanks</p>