change format of date and time for event