$ date "20141013T000000", "20141209T000000", "20150225T000000", "20141209T000000"
I have this "date" variable in R dataframe. I want to clean this variable and remove "T000000" such that "20141013T000000" shows only "20141013" so I can then convert my date variable into it's proper date format.
Thank you very much.