Converts miliseconds to human-readable format.