Converts seconds into days, hours, and minutes.