The online racing simulator
[Solved] NumToMSH(var)
Brief:

Well someone asked me today if it was possible to change the lap time format from:

Minutes.Seconds.Milliseconds
to
Minutes:Seconds.Milliseconds

As you can see, barely any difference lol.

So I was wondering if it's possible to edit the NumToMSH function?

Or can anyone think of another method to approach this?
** Best answer **
You can split it with SplitToArray and then do your thing.

$timeArray = SplitToArray( NumToMSH($laptime), "." );
$formatted_laptime = $timeArray[0] . ":" . $timeArray[1] . "." . $timeArray[2];

Thank you.
This thread is closed

FGED GREDG RDFGDR GSFDG