title: Incorrect output from NSDateFormatter
body: <p>I'm getting some strange output from a NSDateFormatter. I'm converting a date from GMT to the system time zone, which is EDT. This should be -4 hours from GMT.</p>
  
  <p>-(NSDate*)parseDate:(NSString*)inStrDate  {</p>
  
  <pre><code>NSLog(@"Date To Parse %@", inStrDate);
  NSDateFormatter* dtFormatter = [[NSDateFormatter alloc] init];
  [dtFormatter setLocale:[NSLocale systemLocale]];
  [dtFormatter setTimeZone:[NSTimeZone systemTimeZone]];
  [dtFormatter setDateFormat:@"yyyy-MM-dd HH:mm:ss +0000"];
  NSDate* dateOutput = [dtFormatter dateFromString:inStrDate];
  NSLog(@"Parsed Date %@ %@", dateOutput, [NSTimeZone systemTimeZone]);
  
  return dateOutput;
  </code></pre>
  
  <p>}</p>
  
  <p>Log output:</p>
  
  <blockquote>
    <p>2012-09-15 22:32:53.358 Date To Parse 2012-09-16 02:32:53 +0000
    2012-09-15 22:32:53.360 Parsed Date 2012-09-16 06:32:53 +0000 America/New_York (EDT) offset -14400 (Daylight)</p>
  </blockquote>
  
  <p>But it's returning +4 hours instead of -4. So where it should output 22.30 EDT (02.30 GMT) it's actually returning 06.30 EDT. Which is 8 hours in the future.</p>
  
  <p>Can anyone help me understand if I'm going wrong somewhere here? I'm scratching my head but I can't figure out why this wont seem to work.</p>
  
  <p>Thanks</p>