sql= insert into tabla (campofecha) values (:fecha) luego: MiQuery.ParamByName('fecha').AsDateTime := DateTime;