标题: 求助~!VBScript中如何取系统时间中的毫秒?? [打印本页] 作者: htot05 时间: 2006-12-14 18:51 标题: 求助~!VBScript中如何取系统时间中的毫秒?? 请问各位大侠,在VB脚本中怎么样才能取到系统时间中的毫秒呢??
很困惑,sdlkfj9 ,希望各位高手高手高高手帮帮小弟~!!!
谢谢~!作者: 风过无息 时间: 2006-12-14 21:51
Timer
Returns the number of seconds that have elapsed since 12:00 AM (midnight).
Remarks
The following example uses the Timer function to determine the time it takes to iterate a For...Next loop N times:
Function TimeIt(N)
Dim StartTime, EndTime
StartTime = Timer
For I = 1 To N
Next
EndTime = Timer
TimeIt = EndTime - StartTime
msgbox(TimeIt)
End Function