title: NSDate bug in xcode
body: <p>I stuck in problem. When i put break point and show value of nsdate object, it shows correct but when i print it in NSLog() it display other time.</p>
  
  <p>code:</p>
  
  <pre><code>    NSDateFormatter *f = [[NSDateFormatter alloc] init];
      [f setDateFormat:@"yyyy-MM-dd HH:mm:ss"];
      [f setLocale:[[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]];
      NSDate *startDate = [f dateFromString:@"2014-01-17 15:30:00"];
      NSLog(@"tim %@",startDate);
  </code></pre>
  
  <p>Image of breakpoint in xcode</p>
  
  <p><img src="https://i.stack.imgur.com/0Ub32.png" alt="enter image description here"></p>
  
  <p>nslog o/p:</p>
  
  <pre><code>2014-01-17 11:27:08.348 APP[596:a0b] tim 2014-01-17 10:00:00 +0000
  </code></pre>
  
  <p>Is it normal behaviour or bug of xcode?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I am creating <code>LocalNotification</code> based app so i want to use this as global time, so if my local is different it should be fire at i.e. <code>2014-01-17 15:30:00</code> , thats all.</p>
  
  <p><strong>Edit 2</strong></p>
  
  <p>As per answers and comment so use timezone so what is difference of <strong>NSLocale</strong> and <strong>NSTimeZone</strong> , because i have set nslocal to en_US.?</p>
  
  <p>if i use defaults it will not let me problem?? i have fire localnotification at some perticuler time in all contry , so may it affect of time of call local notification? </p>