Tema: timestamp
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/03/2011, 06:46
Avatar de bUllan9ebrio
bUllan9ebrio
 
Fecha de Ingreso: enero-2011
Ubicación: Chile
Mensajes: 1.128
Antigüedad: 13 años, 3 meses
Puntos: 128
Respuesta: timestamp

substr ..... e ahi la solucion

Código PHP:
Ver original
  1. $inicio=$_REQUEST['inicio'];
  2. $day=substr($inicio,6,2);
  3. $month=substr($inicio,4,2);
  4. $year=substr($inicio,0,4);
esta en formato aaaa-mm-dd, tu lo modificas para que tengas el resultado deseado