title: Format String to HH:mm in Swift
body: <p>My code:  </p>
  
  <pre><code>let dateFormatter = NSDateFormatter()
  dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss"
  let date = dateFormatter.dateFromString("2015-09-01 00-32-40")
  </code></pre>
  
  <p>Result: <strong>2015-08-31 17:32:40</strong></p>
  
  <p>But I want get result like this: <strong>17:32</strong>. How do I resolve it?</p>