The Time() function will return the time in this way: HH:MM:SS.
 
You'll give the function either 12 or 24 specifying whether you want the time 
back in the 12 or 24 hour system:
 
Example:
Print Time(24)
 
Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
5260 Odense S.
Denmark
 
Tel   + 45 6311 4900
Dir   +45 6311 4908
Mob +45 5156 1045
Fax  + 45 6311 4949
E-mail [EMAIL PROTECTED]
http://www.cowi.dk <http://www.cowi.dk/> 

________________________________

From: Simon Roy [mailto:[EMAIL PROTECTED]
Sent: Tue 01-Mar-05 15:37
To: Mapinfo-L
Subject: MI-L Printing actual time in message window



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




Reply via email to