Ver Mensaje Individual
  #9 (permalink)  
Antiguo 25/02/2008, 11:46
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 18 años
Puntos: 2135
Re: Ayuda A Formatiar Una Fecha

Puedes usar algo así:
Código PHP:
echo date"Y/m/d"strtotime$row['fecha'] ) ); 
strtotime, se encarga de transformar una fecha larga en un UNIX TIMESTAMP que luego puedes formatear con PHP.

Saludos.