<?php
function mesSpain($mes){
switch ($mes){
case '01':$mes = "Enero";
break;
case '02':$mes = "Febrero";
break;
case '03':$mes = "Marzo";
break;
case '04':$mes = "Abril";
break;
case '05':$mes = "Mayo";
break;
case '06':$mes = "Junio";
break;
case '07':$mes = "Julio";
break;
case '08':$mes = "Agosto";
break;
case '09':$mes = "Septiembre";
break;
case '10':$mes = "Octubre";
break;
case '11':$mes = "Noviembre";
break;
case '12':$mes = "Diciembre";
break;
}
return $mes;
}
function mesIngles($mes){
switch ($mes){
case '01':$mes = "January";
break;
case '02':$mes = "February";
break;
case '03':$mes = "Marzo";
break;
case '04':$mes = "April";
break;
case '05':$mes = "May";
break;
case '06':$mes = "June";
break;
case '07':$mes = "July";
break;
case '08':$mes = "August";
break;
case '09':$mes = "September";
break;
case '10':$mes = "October";
break;
case '11':$mes = "November";
break;
case '12':$mes = "December";
break;
}
return $mes;
}
?>