title: Converting integer format date to double format of date
body: <p>I have date format in following format in a data frame:</p>
  
  <pre><code>Jan-85
  Apr-99
  1-Nov
  Feb-96
  </code></pre>
  
  <p>When I see the <code>typeof(df$col)</code> I get the answer as "integer". </p>
  
  <p>Actually when I see the format in excel it is in <code>m/d/yyyy</code> format.  I was trying to convert this to date format in R.  All my efforts yielded NA.</p>
  
  <p>I tried <code>parse_date_time</code> function.  I tried <code>as.date</code> along with <code>as.character</code>.  I tried <code>as.POSIXct</code> but everything is giving me NA.</p>
  
  <p>My trials were as follows and everything was a failure:</p>
  
  <pre><code>as.Date.numeric(df$col,"m%d%Y")
  
  transform(df$col, as.Date(as.character(df$col), "%m%d%Y"))
  
  as.Date(df$col,"m%d%Y")
  
  as.POSIXct.numeric(as.character(loan_new$issue_d), format="%Y%m%d")
  
  as.POSIXct.date(as.character(df$col), format="%Y%m%d")
  
  mdy(df$col)
  
  parse_date_time(df$col,c("mdy"))
  </code></pre>
  
  <p>How can I convert this to date format?  I have used lubridate package for parse_date_time and mdy package.  </p>
  
  <p>dput output is below</p>
  
  <pre><code>Label &lt;- factor(c("Apr-08", 
  "Apr-09", "Apr-10", "Apr-11", "Aug-07", "Aug-08", "Aug-09", "Aug-10", 
  "Aug-11", "Dec-07", "Dec-08", "Dec-09", "Dec-10", "Dec-11", "Feb-08", 
  "Feb-09", "Feb-10", "Feb-11", "Jan-08", "Jan-09", "Jan-10", "Jan-11", 
  "Jul-07", "Jul-08", "Jul-09", "Jul-10", "Jul-11", "Jun-07", "Jun-08", 
  "Jun-09", "Jun-10", "Jun-11", "Mar-08", "Mar-09", "Mar-10", "Mar-11", 
  "May-08", "May-09", "May-10", "May-11", "Nov-07", "Nov-08", "Nov-09", 
  "Nov-10", "Nov-11", "Oct-07", "Oct-08", "Oct-09", "Oct-10", "Oct-11", 
  "Sep-07", "Sep-08", "Sep-09", "Sep-10", "Sep-11"))
  </code></pre>