title: How to Get current NSDate same to simulator Date? iPhone Sdk
body: <p>I am trying to get current date with adding device time zone but is show 1 hr late that original date. I thing , I am getting problem of DaylightSavingTime.
  How to disable isDaylightSavingTime = FALSE .</p>
  
  <p>here is the code, I have used..</p>
  
  <pre><code>NSDate *date = [NSDate Date];
  NSTimeZone *currentTimeZon = [NSTimeZone localTimeZone];
  if ([currentTimeZon isDaylightSavingTime]) 
  {
      NSLog(@"East coast is NOT on DT");
  } 
  else 
  {
      NSLog(@"East coast is on DT");  
  
  }
  NSTimeInterval timeZoneOffset = [currentTimeZon secondsFromGMTForDate:currentDate];
  NSTimeInterval gmtTimeInterval = [date timeIntervalSinceReferenceDate] - timeZoneOffset;
  NSDate *gmtDate = [NSDate dateWithTimeIntervalSinceReferenceDate:gmtTimeInterval];
  NSLog(@"### Announcement gmtDate = %@",gmtDate);
  </code></pre>
  
  <p>I am getting time with 1 Hour difference, date is perfact.</p>