title: NSTimeInterval since1970 to NSDate
body: <p>I have the following code:</p>
  
  <pre><code>-(void)setDate:(double)dateInterval {
      NSDate *date = [NSDate dateWithTimeIntervalSince1970:(NSTimeInterval)dateInterval];
      NSLog(@"NSDate-Result: %@", [date description]);
  
      NSDateFormatter *formatter = [[NSDateFormatter alloc] init];
      [formatter setDateStyle:NSDateFormatterMediumStyle];
      [formatter setTimeStyle:NSDateFormatterMediumStyle];
  
      [formatter setFormatterBehavior:NSDateFormatterBehavior10_4];
      [formatter setDateFormat:@"YYYY-MM-DD HH:mm:SS"];
  
      NSString *dateString = [formatter stringFromDate:date];
      NSLog(@"String-Result: %@", dateString);
  
      date_label.text = dateString;
  }
  </code></pre>
  
  <p>in <code>NSDate</code> the Date is correct, but the converted string isn't correct anymore.</p>
  
  <p>Results:</p>
  
  <blockquote>
    <p>2012-08-03 10:58:40.469 iSkizzenaufmass[4148:c07] NSDate-Result:
    2012-08-03 08:08:35 +0000 2012-08-03 10:58:40.471
    iSkizzenaufmass[4148:c07] String-Result: 2012-08-216 10:08:48</p>
  </blockquote>