Ver Mensaje Individual
  #3 (permalink)  
Antiguo 22/10/2009, 22:19
Avatar de gjx2
gjx2
 
Fecha de Ingreso: agosto-2008
Ubicación: R.D
Mensajes: 1.153
Antigüedad: 15 años, 9 meses
Puntos: 139
Respuesta: Ingreso fechas

Código php:
Ver original
  1. function cambiaf_a_mysql($fecha){
  2. $f = explode("/",$fecha);
  3. return date("Y-m-d",mktime(0,0,0,$f[1],$f[0],$f[2]));
  4.  
  5. }