function StopTimer(x)
'::::::::::::::::::::::::::::::::::::::::::::::::::::
'::: Here we 'stop' the timer and calculate :::
'::: the elapsed time (allowing for the :::
'::: midnight wrap-around. NOTE: These :::
'::: routines should not be used to time :::
'::: very long events (>1 hour) or very :::
'::: short events (< 100 milliseconds) :::
'::::::::::::::::::::::::::::::::::::::::::::::::::::
EndTime = Timer
'Watch for the midnight wraparound...
if EndTime < StopWatch(x) then
EndTime = EndTime + (86400)
end if
StopTimer = EndTime - StopWatch(x)
end function
%>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10294527/viewspace-124725/ ,如需转载,请注明出处,否则将追究法律责任。