I needed _DateDiff() to include milliseconds.
ConsoleWrite('>>> ' & _DateDiffMs('2021/08/16 13:25:08.727', '2021/08/16 13:25:08.729') & @CRLF)
Func _DateDiffMs($sDate1st, $sDate2nd)
Local $iDate1st, $aDate1st = StringSplit($sDate1st, ".")
ReDim $aDate1st[3]
Local $iDate2nd, $aDate2nd = StringSplit($sDate2nd, ".")
ReDim $aDate2nd[3]
Local $iDate1st = _DateDiff('s', '1970/01/01 00:00:00', $aDate1st[1])
Local $iDate2nd = _DateDiff('s', '1970/01/01 00:00:00', $aDate2nd[1])
$iDate1st &= "000"
$iDate2nd &= "000"
$iDate1st += Int($aDate1st[2])
$iDate2nd += Int($aDate2nd[2])
Return ( $iDate2nd - $iDate1st ) / 1000
EndFunc