Pyspark converting between two date types : <p>I am having trouble converting a column of dates with one format to another format in pyspark. I know that there is an easy way to get this achieved but don't know how. I already have them in the format of</p>

<pre><code>2019-05-21T13:35:16.203Z
</code></pre>

<p>and I would like it to be in the format</p>

<pre><code>6/10/2019  6:33:34 PM
</code></pre>

<p>Part of the problem is that I don't know what these formats are called for calling a spark dataframe function to do it.</p>
