google搜索 站内搜索                 软件测试门户 | 软件测试培训 | 文章资料精选 | 软件测试论坛 | 测试解决方案 | 软件测试博客 | 测试招聘求职 
打印

[求助] 求助~!VBScript中如何取系统时间中的毫秒??

求助~!VBScript中如何取系统时间中的毫秒??


请问各位大侠,在VB脚本中怎么样才能取到系统时间中的毫秒呢??
很困惑,sdlkfj9 ,希望各位高手高手高高手帮帮小弟~!!!
谢谢~!
永远的虚心求教……

TOP

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

call TimeIt(1)

[ 本帖最后由 风过无息 于 2006-12-14 21:53 编辑 ]

TOP

受益匪浅~!谢啦!!sdlkfj6
永远的虚心求教……

TOP

 
当前时区 GMT+8, 现在时间是 2008-11-23 08:53Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹