Forum: Object-Pascal / Delphi-Language
Delphi
by sdean,
24. Jun 2010
thank you shmia , But when i transfer elapsed time from a Client to an other the result will be as follows :
ClientA's elapsed time is : 00:20:00 when i trabsfer it to ClientB it will be : 968484:20:00
is there any issue with it ?!
Forum: Object-Pascal / Delphi-Language
Delphi
by sdean,
24. Jun 2010
thank you Stevie , But the 2 Machines' time format is 12h .
Forum: Object-Pascal / Delphi-Language
Delphi
by sdean,
24. Jun 2010
Hi , i've 2 Clients " 2 Machines in my network " and a Server i use the following procedure to calc the elapsed time :
procedure TForm1.ElapsedTimeTimer(Sender: TObject);
var
s: string;
TotalTime: TDateTime;
DLTimes: Double;
Hh, Mh, Sec, MSec: Word;
begin
TotalTime:= Now-FStartTime;