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).
Any ways round this?
Also can I do apply this change to a whole column, say for example data_frame$TimeCreate?