That is what I wrote the anytime package for: effortless automatic parsing. Also works for dates: > library(anytime) > anydate("12 APR 2023") [1] "2023-04-12" > Dirk -- dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org