主题:  请分析下这段代码~~

gsbar

职务:普通成员
等级:1
金币:0.0
发贴:9
注册:2002/8/12 0:51:05
#12002/8/13 21:43:01
sub StartTimer(x)
StopWatch(x) = timer'计算从半夜12点到现在所经过的秒数
end sub

function StopTimer(x)
EndTime = Timer

'Watch for the midnight wraparound...
if EndTime < StopWatch(x) then
EndTime = EndTime + (86400)
end if

StopTimer = EndTime - StopWatch(x)
end function