I noticed that at the bottom of your "serial.print" portion of date and time you have "Serial.print(" , ");" Try putting that at the end of your "datafile.print" portion as well. .csv is a comma delimited file and there is no comma after the time in your datafile.
Also, I use CTRL C, CTRL V to copy and paste into these files since right click works differently.
thanks for the reply,
that probably would have worked i will try that out tomorrow as its too late now, however funnily enough after posting this, i have got it to work another way by just using datafile.print for all the values (x,y,z) instead of the method currently being used.