parse dates written to csv