(Gast)
n/a Beiträge
|
Re: Sekunden -> Tage, Stunden, Minuten, Sekunden
28. Mai 2005, 20:39
Delphi-Quellcode:
procedure SecondstoTime(const input:int64; var days, hours, mins, seconds: integer);
begin
days:= trunc(input/86400); //oder input div 86400
hours:= trunc(input/3600) mod 24
minutes:= trunc(input/60) mod 60;
secs:= input mod 60;
end;
|
|
Zitat
|