Dear Dirk, Thaks a lot... THanking you, Yours sincerely, AKSHAY M KULKARNI ________________________________ From: Dirk Eddelbuettel <e...@debian.org> Sent: Wednesday, April 12, 2023 8:38 PM To: akshay kulkarni <akshay...@hotmail.com> Cc: R help Mailing list <r-help@r-project.org> Subject: Re: [R] converting to date object...
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 | e...@debian.org [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.