title: Turn data from a datetimepicker (human readable) into Time class (machine readable)
body: <p>Right now I'm using a datetimepicker to make it easy for users to select an exact date/time and present that in a readable format. However, rails does not like that format and can't Time.parse it.</p>
  
  <p>I've tried out the Chronic gem, and it's close, but it still can't parse something like:</p>
  
  <p>02/27/2013 08:36:57 PM</p>
  
  <p>How can I make user inputted time into an acceptable format for my database? (mongo)</p>
  
  <hr>
  
  <p>I'm using this gem: <a href="https://github.com/asgeo1/bootstrap-datetimepicker-rails" rel="nofollow">https://github.com/asgeo1/bootstrap-datetimepicker-rails</a></p>
  
  <p>based on this datetimepicker: <a href="https://github.com/tarruda/bootstrap-datetimepicker" rel="nofollow">https://github.com/tarruda/bootstrap-datetimepicker</a></p>
  
  <p>demonstrated here: <a href="http://tarruda.github.com/bootstrap-datetimepicker/" rel="nofollow">http://tarruda.github.com/bootstrap-datetimepicker/</a></p>