To expand on Lonkero's response..

You can try the DeltaTime() UDF

It would be something like -
code:
$start = @time + ':' + @msecs
CALL @SCRIPTDIR+'\YOURSCRIPT.KIX'
$end = @time + ':' + @msecs
? 'Start time : $start' ?
? 'End time : $end' ?
$Duration = DeltaTime($start,$end)
? 'Duration : $Duration' ? ?

HTH,

Kent
_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's