Ver Mensaje Individual
  #2 (permalink)  
Antiguo 30/09/2005, 11:12
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola Juanda

He modificado tu código para que funcione como quieres y de paso hacerlo más sencillo:
Código PHP:
<script language="JavaScript"><!--
var 
hoy = new Date();
dia hoy.getDate();
mes hoy.getMonth();
ano hoy.getFullYear();
meses = ['Enero''Febrero''Marzo' 'Abril''Mayo''Junio''Julio''Agosto''Septiembre''Octubre''Noviembre''Diciembre']
document.write ("<span style='color:#fff'>" dia " de " meses[mes] + " de " ano +"</span>");
// --></script> 
Saludos,