I have a date column, but it's written all the way around, Ex: "31-12-2019" When I try to extract the day using the day function from lubridate : day("31-12-2019") it returns "19" instead of "31"
PS : I've already tried to change to column type using as.Date, but it reorders my data and I don't want that