title: How to convert "HH:MM:SS AM/PM" to 24 hour format in R?
body: <p>Is there a way to convert an string in format "HH:MM:SS AM/PM" to 24 hour format in R.</p>
  
  <p>I tried HMS but it didnot work.</p>
  
  <p>When i am using strptime it is giving me date as well which i dont want.</p>
  
  <pre><code>strptime(c("1:00:29 AM","1:00:29 PM"), "%I:%M:%S %p")
  #output "2016-08-07 01:00:29 IST" "2016-08-07 13:00:29 IST"
  </code></pre>