title: Converting char to date time
body: <p>In a data.frame, I have a date time stamp in the form:</p>
  
  <pre><code>head(x$time)
  [1] "Thu Oct 11 22:18:02 2012" "Thu Oct 11 22:50:15 2012" "Thu Oct 11 22:54:17 2012"
  [4] "Thu Oct 11 22:43:13 2012" "Thu Oct 11 22:41:18 2012" "Thu Oct 11 22:15:19 2012"
  </code></pre>
  
  <p>Everytime I try to convert it with <code>as.Date</code>, <strong>lubridate</strong>, or <strong>zoo</strong> I get <code>NA</code>s or Errors.</p>
  
  <p>What is the way to convert this time to a readable form?</p>
  
  <p>I've tried:</p>
  
  <pre><code> Time&lt;-strptime(x$time,format="&amp;m/%d/%Y  %H:$M")
      x$minute&lt;-parse_date_time(x$time)
      x$minute&lt;-mdy(x$time)
      x$minute&lt;-as.Date(x$time,"%m/%d/%Y %H:%M:%S")
      x$minute&lt;-as.time(x$time)
      x$minute&lt;-as.POSIXct(x$time,format="%H:%M")
      x$minute&lt;-minute(x$time)
  </code></pre>