I am trying to convert my date from Feb 21, 2019 6:10 AM to mm/dd/yyyy format and have used lubridate::mdy_hms()
like this:
d1=mdy_hms(data$`First Activity (America/New_York)`)
data$`First Activity (America/New_York)` <- date(d1)
Now this converts my date to mm/dd/yyyy format but the year is converted to 2020. I can't debug why is my year incrementing by 1.