changed formatting of datestring in .csv output file for perfect plotting