I'm struggling converting a charter variable to a date variable. For example
tibble(date = c("31jan2003", "28feb2003"))
I tried the following:
tibble(date = c("31jan2003", "28feb2003")) %>% lubridate::dmy(date, format = "%d%b%Y")
What am I missing?
Thanks!