Ver Mensaje Individual
  #2 (permalink)  
Antiguo 07/12/2014, 13:51
jurena
Colaborador
 
Fecha de Ingreso: marzo-2008
Ubicación: Cáceres
Mensajes: 3.735
Antigüedad: 16 años, 1 mes
Puntos: 300
Respuesta: Consultar registros de un año en especifico con Unix time

Código MySQL:
Ver original
  1. SELECT FROM_UNIXTIME(`DATE`) FROM  td_tickets WHERE YEAR(FROM_UNIXTIME(`DATE`)) = 2014