title: Cannot find the right logic to translate the NSDate to string
body: <p>I am very new to swift and found this one difficult, so its saying that it cannot be parsed to a variable because its not a string.</p>
  <p>I searched and found something but it was not related near to my type of code so I am kindly asking for it :)</p>
  <pre><code>    let dateFormatterGet = DateFormatter()
      dateFormatterGet.dateFormat = &quot;yyyy-MM-dd HH:mm:ss&quot;
  
      let dateFormatterPrint = DateFormatter()
      dateFormatterPrint.dateFormat = &quot;MMM dd,yyyy&quot;
  
      let date: NSDate? = dateFormatterGet.date(from: currentVechicle.LastCommunicationDate!) as NSDate?
      print(dateFormatterPrint.string(from: date! as Date))
  
  
  
      cell.perditsuarOutlet.text = date    // Error: Cannot assign value of type 'NSDate?' to type 'String?'
  </code></pre>