Manejo de fechas en MySQL
Hola
Puedes manipular el tipo datetime como texto.
Intenta con la siguiente instrucción
query.parambyname('fecha').Text:= formatdatetime('yyyy-mm-dd', tdatetimepicker.date);
Nota: la funcion formatdatetime devuelve un string no un date
__________________
Nada es parasiempre.
|