I don't know how to format the dates which are inserted as "7-1-2019"
to "07-01-2019"
can someone help me with that?
I was trying with this
[, rq_date_inserted1:= as.Date(rq_date_inserted1, "%d/%mm/%Y")]
but that's not working properly as after doing so some of the dates are not recognized;/