Ver Mensaje Individual
  #2  
Antiguo 29-10-2007
douglas douglas is offline
Miembro
 
Registrado: jul 2007
Posts: 145
Reputación: 19
douglas Va por buen camino
pues para conseguir la fecha utilizo esta funcion

Código Delphi [-]
 
function GetLocalD: String;
 var
    stSystemTime : TSystemTime;
 begin
    Windows.GetLocalTime(stSystemTime);
    Result := DateToStr( SystemTimeToDateTime( stSystemTime ) );
 end;

y luego el resultado lo coloco en un edit

Código Delphi [-]
procedure TForm3.FormCreate(Sender: TObject);
begin
edit1.Text:=getlocald;
end;

y luego del edit hago todo lo que ya vimos anteriormente, la verdad no se que hacer, perdon por tantas molestias
Responder Con Cita