Change date format

Dear community

I have a new problem:

I have a date column which is e.g. 11sep2013. How can I change it to e.g. 2013-09-11?
I tried using the as.Date command but it didn't work.

Thanks a lot in advance.

lubridate::dmy("11sep2013")
#> [1] "2013-09-11"

Created on 2023-01-10 with reprex v2.0.2

Thanks a lot, it worked.

Sending love<3

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.