Ver Mensaje Individual
  #2  
Antiguo 12-04-2010
Avatar de heroe
heroe heroe is offline
Miembro
 
Registrado: may 2006
Ubicación: Cartago, Costa Rica
Posts: 45
Reputación: 0
heroe Va por buen camino
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.
Responder Con Cita