Returns a Double representing the number of seconds elapsed since system was started.
Timer() |
Dim Start, Finish, Res Start = Timer() For a = 1 to 1000000 Res = sqr(a) Next a Finish = Timer() MsgBox(Finish-Start) ' Loop run time in seconds |
See Also |
Randomize Statement, Time Function |