Ver Mensaje Individual
  #7 (permalink)  
Antiguo 14/11/2013, 15:01
Avatar de andresdzphp
andresdzphp
Colaborador
 
Fecha de Ingreso: julio-2011
Ubicación: $this->Colombia;
Mensajes: 2.749
Antigüedad: 12 años, 9 meses
Puntos: 793
Respuesta: convertir DATETIME a STRING

¿Qué resultado te da esto?

Código PHP:
Ver original
  1. <?php
  2.  
  3. var_dump($row1['Fecha_mod']);
  4.  
  5. $fecha_inicial= new DateTime($row1['Fecha_mod']);?>
  6. <td> <?php echo $fecha_inicial->format("d/m/Y");?></td>
__________________
Si sabemos como leer e interpretar el manual será mucho más fácil aprender PHP. En lugar de confiar en ejemplos o copiar y pegar - PHP