$tu_fecha = '31-12-2007';$fecha_formateada = strftime("%d-%b-%y", strtotime($tu_fecha));echo $fecha_formateada;