When I export to excel using write.csv(XYZ) the date format in the entire column changes to:
01 01 2016
There are GAPS in the Month, Day and Year
Next, when I import the data using "read.csv" and use:
as.Date(XYZ$date), the date format does not change.
If i try to perform any operation on the date column the output is:
Error in filter_impl(.data, dots) : character string is not in a standard unambiguous format
Please help me resolve this. I have also tried to change the Format of the date in Excel, however it doesn't seem to recognize the exported format from R.