I have a data.table with a column named 'Date' and type char and it looks like below. I need to convert this to date type column so that i can perform date operations.
Date
"10/11/2018"
"13/11/2013"
"22/11/2011"
"--"
"--"
"10/11/2018"
I tried this, but doesn't work
MyTable$Date <- as.POXISlt(MyTable$Date)