title: How to code 'let timestamp: Date' to get May 10, 2018 10:00 PM
body: <p>In my dateLabel I am getting following result 2018-05-09 02:21:23 +0000.
  In what place of my code I need to do 'dateformatting' to get May 10, 2018 10:00 PM. 
  Thank you.</p>
  
  <pre><code>struct Model {
      let firstName: String
      let lastName: String
      let timestamp: Date
  
      static func loadSampleData() -&gt; [Model] {
          return [
              Model(firstName: "john", lastName: "doe", timestamp: Date()),
              Model(firstName: "alex", lastName: "doe", timestamp: Date()),
              Model(firstName: "lisa", lastName: "doe", timestamp: Date())
          ]
      }
  }
  
  class ModelTableViewCell: UITableViewCell {
      @IBOutlet weak var firstNameLabel: UILabel!
      @IBOutlet weak var lastNameLabel: UILabel!
      @IBOutlet weak var dateLabel: UILabel!
  
      func update(with name: Model) {
          firstNameLabel.text = name.firstName
          lastNameLabel.text = name.lastName
          dateLabel.text = "\(name.timestamp)"
      }
  }
  </code></pre>