title: Converting Date/Time in R to a Date class
body: <p>I have dates and times in the character format - 05/02/2021 03:46:05 PM - that I want to convert to a Date class, keeping the same format. I tried using as.Date() but that removes the time element and posixct doesn't return a 'Date' class (unless I'm mistaken).</p>
  <p>Any ways round this?</p>
  <p>Also can I do apply this change to a whole column, say for example data_frame$TimeCreate?</p>