![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
06/10/2005, 16:06
|
![Avatar de leoj90](http://static.forosdelweb.com/customavatars/avatar110972_1.gif) | Usuario baneado! | | Fecha de Ingreso: agosto-2005
Mensajes: 1.365
Antigüedad: 19 años, 6 meses Puntos: 0 | |
Quita el span de alli porq sino no va a tomar la clase del div, debe ser asi:
Código:
<div id="fuente">
<script>
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 (+ dia + " de " + meses[mes] + " de " + ano +);
</script></div>
|