properly formatting the datetime field of survey.