Ver Mensaje Individual
  #16  
Antiguo 10-04-2008
Avatar de ixMike
ixMike ixMike is offline
Miembro
 
Registrado: feb 2004
Posts: 1.151
Reputación: 22
ixMike Va por buen camino
Cita:
Empezado por keyboy Ver Mensaje
¿Se han fijado en el código de TimeToStr?
Puede ser... entonces mejor usar FormatDateTime, con el formato 'hh:nn:ss'...

Código Delphi [-]
function SecondsToTime(seconds: Integer) : TTime;
begin
  result := (seconds / (24 * 60 * 60));
end;

(* *)

begin
  ShowMessage( FormatDateTime('hh:nn:ss', SecondsToTime(60) ) );
end;



Salu2
Responder Con Cita