Timer (function)

Syntax Timer
Description Returns a Single representing the number of seconds that have elapsed since midnight.
Example This example displays the elapsed time between execution start and the time you clicked the OK button on the first message.
Sub Main()
  start& = Timer
  MsgBox "Click the OK button, please."
  total& = Timer - start&
  MsgBox "The elapsed time was: " & total& & " seconds."
End Sub
See Also Time, Time$ (functions); Now (function).