Ver Mensaje Individual
  #6 (permalink)  
Antiguo 17/01/2011, 15:51
Avatar de carlos_belisario
carlos_belisario
Colaborador
 
Fecha de Ingreso: abril-2010
Ubicación: Venezuela Maracay Aragua
Mensajes: 3.156
Antigüedad: 14 años
Puntos: 461
Respuesta: Convertir datetime a date ... Help

amigo con date format deberia de ser asi
Código MySQL:
Ver original
  1. SELECT campos FROM tabla WHERE DATE_FORMAT(campo,'%Y-%m-%d') = '2000-12-24';
por ponerte un ejemplo aplica este sencillo formato a tu consulta y te dara resultados saludos
__________________
aprende d tus errores e incrementa tu conocimientos
it's not a bug, it's an undocumented feature By @David
php the right way