title: Converting UTC string into NSDate
body: <p>I have a date-time string returned by the server in UTC format: 2015-04-21T00:54:46.469Z</p>
  
  <p>I am trying to convert this into NSDate. The code is:</p>
  
  <pre><code>NSString *dateString = @"2015-04-21T00:54:46.469Z";
  NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];
  [dateFormatter setDateFormat:@"yyyy-mm-DDThh:mm:ss.sZ"];
  NSDate *locationDate = [dateFormatter dateFromString:dateString];
  </code></pre>
  
  <p>The value of <code>locationDate</code> is nil after executing this</p>