Ver Mensaje Individual
  #13  
Antiguo 22-05-2018
Jorge91 Jorge91 is offline
Registrado
NULL
 
Registrado: abr 2018
Posts: 8
Reputación: 0
Jorge91 Va por buen camino
Solucion al tema, la web es lo maximo jajaja
Cita:
ZQuery1.Close;
try
ZQuery1.SQL.Clear;
ZQuery1.SQL.Add('select current_date()');
ZQuery1.Open;
Edit10.Text := FormatDateTime('dd/MM/yyyy',ZQuery1.Fields[0].AsDateTime);
except
raise Exception.Create('¡Ocurrió un problema al intentar obtener la fecha!');
end ;
Responder Con Cita