title: How to convert character into date format in R
body: <p>I have a csv file which has date in following format.</p>
  
  <pre><code>8/13/2016
  8/13/2016
  8/13/2016
  2016-08-13T08:26:04Z
  2016-08-13T14:30:23Z
  8/13/2016
  8/13/2016
  </code></pre>
  
  <p>When I import this into R it takes it as a character. I want to convert it into Date format,but when I convert it into date format it takes all NA values</p>
  
  <pre><code>as.Date(df$create_date,format="%m%d%y")
  </code></pre>
  
  <p>Date field in CSV has different formats in which date is recorded. How can I convert it into date format in R </p>