Hello Ann,

Sorry I was incomplete :(

> What will happen when someone will change the system time?

Then you are in trouble :(

> What does (TDataTime - TDataTime) return? miliseconds?

From the top of my head:

  BeginTime: TDateTime;
  EndTime: TDateTime;
  AllocConsole; // open a console window
  BeginTime := Now();
  EndTime := Now();
  // print the time in the console
  WriteLn(integer('elap ', (EndTime - BeginTime) * 86400), ' seconds');

This should print 60 (seconds) since there are 86400 seconds in one day.
Rgds, Wilfried

To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to