changing the date format from 1-3-2019 to 01-03-2019 : I don't know 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 thats not working properly as after doing so some of the dates are not recognized;/