title: How do I create a date string from a date without including any daylight saving?
body: <pre class="lang-default prettyprint-override"><code>NSString* dateString = @"2012-04-01T15:37:53Z";
  
  ISO8601DateFormatter *dateFormat = [[ISO8601DateFormatter alloc] init];
  [dateFormat setIncludeTime:YES];
  NSTimeZone *utcTimeZone = [NSTimeZone timeZoneWithName:@"UTC"];
  
  NSDate* date = [dateFormat dateFromString:dateString timeZone:&amp;utcTimeZone];
  
  STAssertEqualObjects([dateFormat stringFromDate:date timeZone:utcTimeZone], dateString, nil, nil);
  </code></pre>
  
  <p>The above test fails with</p>
  
  <blockquote>
    <p>'2012-04-01T16:37:53Z' should be equal to '2012-04-01T15:37:53Z'</p>
  </blockquote>
  
  <p>Not sure why the NSString returned by the stringFromDate:date is 1 hour later since both dates are using UTC.</p>