I have a date-time character in this format '05/01/2021 01:31:49 PM' that I want to convert to POSIXct.
My current code is this, using lubridate:
police_data$TimeCreate <- as_datetime(mdy_hms(police_data$TimeCreate))
but instead of returning mdy_hms, R Studio returns ymd like this - 2021-05-01 01:31:49 UCT
Any idea how to fix this? Thanks