title: show date and time separately in Swift
body: <p>Trying to show the time and date separately in Swift 3 and both fields are returning nil. I'm receiving the date as a string thats in the standard Date() format.</p>
  
  <pre><code>public func formatDateForAbandonTicket(_ dte: String) -&gt; String {
      print(dte)
      let timeFormatter = DateFormatter()
      timeFormatter.dateFormat = "HH:mm"
      let t = timeFormatter.date(from: dte)
      let dateFormatter = DateFormatter()
      dateFormatter.dateFormat = "d/MM/YYYY"
      dateFormatter.timeZone = TimeZone(abbreviation: "GMT+0:00")
      let d = dateFormatter.date(from: dte)
      print()
      print(t)
      print()
      print(d)
      return "\(d)" + "     " + "\(t)"
  }
  </code></pre>
  
  <p>I get a nil response from both d &amp; t. The parameter does contain the right date "2017-11-14 16:36:29 +0000".</p>
  
  <p>Thanks</p>