code to format date in csv file per TA's request