I have CSV file with date in random formats like dd/mm/yyyy or mm/dd/yyyy. Is it possible to change all the date to same format using R or any other language?
Asked
Active
Viewed 21 times
0
-
You can use `parse_date_time` from `lubridate`, see this answer https://stackoverflow.com/questions/13764514/how-to-change-multiple-date-formats-in-same-column – Ronak Shah Apr 23 '20 at 07:35
-
you might try the `anytime` package – MichaelChirico Apr 23 '20 at 07:38
-
The answer to your question is posed is, yes you can do it. But you want to know how to do it, so we need more info, reproducible data, etc. Please give more details so we can actually help. – Fnguyen Apr 23 '20 at 08:16