format elapsed time in days, hours, minutes, and seconds