Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/10/2011, 07:06
Hidek1
Colaborador
 
Fecha de Ingreso: octubre-2009
Ubicación: Tokyo - Japan !
Mensajes: 3.867
Antigüedad: 14 años, 6 meses
Puntos: 334
Respuesta: Datetime en php/sql

revisa la funcion date()

Código PHP:
Ver original
  1. echo date('d-m-Y H:i:s', strtotime($row['fecha']));

www.php.net/date
__________________
More about me...
~ @rhyudek1
~ Github