Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/06/2007, 08:49
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Re: extraer año y mes de un campo fecha

Hola zng

Echa un vistazo a las funciones MONTH() y YEAR()

http://dev.mysql.com/doc/refman/5.0/...functions.html

Saludos,