title: Extract week day number from string column (datetime stamp) in spark api
body: <p>I am new to Spark API. I am trying to extract weekday number from a column say col_date (having datetime stamp e.g '13AUG15:09:40:15') which is string and add another column as weekday(integer). I am not able to do successfully. </p>