title: Split date into day of the week, month,year using Pyspark
body: <p>I have very little experience in Pyspark and I am trying with no success to create 3 new columns from a column that contain the timestamp of each row.</p>
  <p>The column containing the date has the following format:<code>EEE MMM dd HH:mm:ss Z yyyy</code>.
  So it looks like this:</p>
  <pre><code>+--------------------+
  |           timestamp|
  +--------------------+
  |Fri Oct 18 17:07:...|
  |Mon Oct 21 21:49:...|
  |Thu Oct 31 18:03:...|
  |Sun Oct 20 15:00:...|
  |Mon Sep 30 23:35:...|
  +--------------------+
  </code></pre>
  <p>The 3 columns have to contain: the day of the week as an integer (so 0 for monday, 1 for tuesday...), the number of the month and the year.
  What is the most effective way to create these additional 3 columns and append them to the pyspark dataframe? Thanks in advance!!</p>