change to correct time format