title: Change factor into time format
body: <p>A column contains only time in H:M:S(e.g. 13:08:20)  but its in FACTOR format so now I want to change the FACTOR into POSIXct so that I can apply ceiling date() function on it.</p>
  
  <p>I have tried these in some cases when I run its shows no error but then the columns whole contains NA values. :</p>
  
  <pre><code>x &lt;- anytime(cam5$CaptureTime)
  x &lt;- hms(cam5$CaptureTime)
  x &lt;- hms(as.character(cam5$CaptureTime))
  x &lt;- as.POSIXct(cam5$CaptureTime)
  x &lt;- as.POSIXct(as.character(cam5$CaptureTime))
  </code></pre>