Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/04/2015, 11:40
BlackJccl1
 
Fecha de Ingreso: abril-2015
Mensajes: 304
Antigüedad: 9 años, 1 mes
Puntos: 2
Respuesta: guardar datos de tipo fecha en mysql

Gracias por su tiempo y compresión lo que realize fue crear una funcion
Código PHP:
function formatear_fecha($fecha_vieja)
{
    
$fecha_vieja=explode("/"$fecha_vieja);
    
$fecha_nueva=$fecha_vieja[2]."-".$fecha_vieja[1]."-".$fecha_vieja[0];
    return 
$fecha_nueva;

a ver si alguien tiene el mismo problema que yo puede usar esa funcion