added date and time to csv file