Update convertTimeToString() method