Add elapsed time string utility function