Código fuente de 'Fecha en espanyol 2.php'

<html>
<head>
<title>Fecha en español 2</title>
</head>
<body style="font-family: Arial; font-size: 9pt">

<center><b><font face="Arial" size="3">Fecha en español 2</font></b>
<br><br>


<?
// Months Start Here
$month[0]="--";
$month[1]="Enero";
$month[2]="Febrero";
$month[3]="Marzo";
$month[4]="Abril";
$month[5]="Mayo";
$month[6]="Junio";
$month[7]="Julio";
$month[8]="Agosto";
$month[9]="Septiembre";
$month[10]="Octubre";
$month[11]="Noviembre";
$month[12]="Diciembre";
// End Months Start Here

// Days Start Here
$days[0]="Domingo";
$days[1]="Lunes";
$days[2]="Martes";
$days[3]="Miércoles";
$days[4]="Jueves";
$days[5]="Viernes";
$days[6]="Sábado";
// End Days Start Here

//Add Month Func.
$dayno=(int)date("w");
// End Add Month Func.

//Add Month Func.
$monno=(int)date("m");
// End Add Month Func.

// Show date on the page.
echo $days[$dayno]." ".date("d")." de ".$month[$monno]." "." de ".date("Y");
// End Show date on the page.
?>

</center>
</body>
</html>