Hi Simon,
Take a look at the Timer( ) function in the MB manual and you'll find:
*Purpose * Returns the number of elapsed seconds.
*Syntax*
Timer( )
*Return Value*
Integer
*Description*
The Timer( ) function returns the number of seconds that have elapsed since Midnight, January 1, 1970. By calling the Timer( ) function before and after a particular operation, you can time how long the operation took (in seconds).
*Example *
Declare Sub Ubi
Dim start, elapsed As Integer
start = Timer() Call Ubi elapsed = Timer() - start
'
' elapsed now contains the number of seconds
' that it took to execute the procedure Ubi '
Regards, Jes�s
Simon Roy escribi�:
Hi,
I have a MB application that computes a lot of data. I have to run it by night because it will keep my computer busy for too long. I would like to know how long it takes for the computer to process a certain amount of data. I thought about printing the computer clock time at start and at the end of the process in the message window. Is there a way via MB to read the computer clock and put the actual time into a string variable?
Thank you.
Simon
--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 15477
