title: Swift: Get correct time zone from Date Picker?
body: <p>I am trying to get the correct time zone from the date picker in swift using time formatter, it's not working. I'm getting UTC, not EST. </p>
  
  <p>1) If I print dateFormatter.stringFromDate(datePicker) I get EST, but</p>
  
  <p>2) I don't need a string, I need an NSDate in EST so </p>
  
  <p>3) I can use it to get the timeIntervalSinceDate(NSDate) in EST.  </p>
  
  <p>My trick of trying to take it from string back to NSDate as seen below didn't work. It's still in UTC and the time interval since date is not right.</p>
  
  <pre><code>dateFormatter.locale = NSLocale.currentLocale()
  dateFormatter.timeZone = NSTimeZone.localTimeZone()
  dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
  let date: NSDate = dateFormatter.dateFromString(dateFormatter.stringFromDate(datePicker))!
  print(date)
  print(date.timeIntervalSinceDate(datePicker))
  </code></pre>