$fecha = "22/10/2007"; $format = explode("/",$fecha); // m/d/Y $newfecha = $format[1]. "/". $format[0] "/".$format[2]; echo $newfecha;