Ver Mensaje Individual
  #9 (permalink)  
Antiguo 18/10/2014, 13:28
galaktico
 
Fecha de Ingreso: julio-2008
Mensajes: 57
Antigüedad: 16 años, 8 meses
Puntos: 0
Respuesta: Formato de Fecha PHP

Esta es mi consulta MySQL:

Cita:
SELECT id, day, title, subtitle, photo, content FROM news ORDER BY day DESC
La función que le quiero agregar sería:
Cita:
DATE_FORMAT(NOW(),'%d %b %y')
Pero cuando la agrego de la siguiente manera:
Cita:
SELECT id, DATE_FORMAT(NOW(day),'%d %b %y'), title, subtitle, photo, content FROM news ORDER BY day DESC
No me trae ninguna fecha, la estoy agregando bien a la función?