Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/01/2015, 08:54
asitudela
 
Fecha de Ingreso: mayo-2004
Mensajes: 398
Antigüedad: 19 años, 11 meses
Puntos: 4
Respuesta: Convertir fecha

cambia
Código PHP:
Ver original
  1. $nuevafecha=date_format("Y/m/d",$fecha);

por

Código PHP:
Ver original
  1. $nuevafecha = date("Y/m/d", strtotime($fecha));

más info

http://php.net/manual/en/function.strtotime.php

Suerte con ello