For lack of a reproducible example, called a reprex, I took a guess from your question that your source data was character. If you want to recast DATE1
as a date object, see lubridate
For lack of a reproducible example, called a reprex, I took a guess from your question that your source data was character. If you want to recast DATE1
as a date object, see lubridate