Einzelnen Beitrag anzeigen

marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#3

Re: TimeStampToDateTime - difference Delphi5 - Delphi7

  Alt 10. Dez 2006, 13:00
Hi Jan,

you should get rid of the global variable StartTime and there is no need to employ the TTimeStamp structure:

Delphi-Quellcode:
function TicksToStr(ticks: Cardinal): String;
begin
  Result := FormatDateTime('hh"h":nn"m":ss"s":zzz"ms"', ticks / MSecsPerDay);
end;
Kind regards
  Mit Zitat antworten Zitat