Ver Mensaje Individual
  #6 (permalink)  
Antiguo 14/11/2013, 14:56
Fozzie12
 
Fecha de Ingreso: noviembre-2013
Ubicación: Mexico
Mensajes: 32
Antigüedad: 10 años, 5 meses
Puntos: 0
Respuesta: convertir DATETIME a STRING

Andresdzphp, he dejado mi codigo así:

Código PHP:
Ver original
  1. <?php
  2. $fecha_hoy = new DateTime;
  3. $fecha_inicial= new DateTime($row1['Fecha_mod']);?>
  4. <td> <?php echo $fecha_inicial->format("d/m/Y");?></td>

Pero me sigue dando la fecha actual y yo lo que quiero es la fecha que el usuario ingreso jeje :/