Car game laptime and best laptime

I try make car game but, how i make laptime and Best laptime in text?. Any easy example. Thanks.

Basically, use chronometer at race start, then on each lap, save the value of the crhonometer, and reset it to 0 to record again. On each lap, save the chronometer value (in a variable only if it’s value is better than the previous value recorder.