title: NSDateFormatter Trouble?
body: <p>I am trying to parse an RSS feed, but the date is hard to parse. The date string is: <code>publishedDate = "2013-01-08T20:09:02.000Z"</code></p>
  
  <p>Here is my code:</p>
  
  <pre><code>NSDateFormatter *utc = [[NSDateFormatter alloc] init];
  [utc setTimeZone:[NSTimeZone timeZoneWithName:@"UTC"]];
  [utc setDateFormat:@"yyyy-MM-dd'T'HH:mm:ss'Z'"];
  NSDate *dtUTC = [utc dateFromString: publishedDate];
  
  NSDateFormatter *dfLocal = [[NSDateFormatter alloc] init];
  [dfLocal setDateFormat:@"yyyy-MM-dd"];
  [dfLocal setTimeZone:[NSTimeZone localTimeZone]];
  
  NSString *time =[dfLocal stringFromDate:dtUTC];
  NSLog(@"original UTC %@  now local: %@", dtUTC, time);
  </code></pre>
  
  <p>Why is <code>date</code> returning nil? Also, i am trying to convert UTC time to CST Time.</p>