how to convert string to date or date to string : <p>I have a tableview cell with a Date type Date, it shows me the following error and I don't know how to fix it:</p>

<blockquote>
  <p>Error: Cannot assign value of type 'Date' to type 'String?'</p>
</blockquote>

<pre><code>cell.Resum_Controls_Data_txt.text = control.data
</code></pre>

<p>control.data (is type Date)</p>
