title: iOS NSDateFormatter Timezone
body: <p>I have some code that takes a string, turns it into a date, reformats it then spits it out as another string:</p>
  
  <pre><code>[formatter setDateFormat:@"YYYY'-'MM'-'DD','HH:mm:ss','ZZZ"];
  [formatter setTimeZone:[NSTimeZone timeZoneWithName:@"America/New_York"]];
  NSDate *date = [formatter dateFromString:combinedString];
  [formatter setDateStyle:NSDateFormatterLongStyle];
  NSString *finishedString = [formatter stringFromDate:date];
  </code></pre>
  
  <p>Basically, it works fine except for the timezones. All of the input strings are in timezone -0400, and I want the reformatted string to be in that timezone also, but the reformatted string keeps being converted forward 4 hours, even after I added the <code>setTimeZone:</code> line. Basically, I don't want to change the time at all, I just want to reformat it, and I can't understand what I am doing wrong?</p>