![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
27/03/2004, 17:57
|
![Avatar de seoista](http://static.forosdelweb.com/customavatars/avatar40519_20.gif) | | | Fecha de Ingreso: septiembre-2003 Ubicación: Pues leyéndote
Mensajes: 1.076
Antigüedad: 21 años, 5 meses Puntos: 59 | |
Hola michel-arteta
No entiendo mucho de hacer páginas web, pero yo tengo este javascript que tiene el formato que tu deseas.
A ver si lo puedes acoplar al tuyo. Cita: var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym=""+daym
var dayarray=new Array("Domingo","Lunes","Martes","Miércoles","Juev es","Viernes","Sábado")
var montharray=new Array("ENERO","Febrero","Marzo","Abril","Mayo","Ju nio","Julio","Agosto","Septiembre","Octubre","Novi embre","Diciembre")
document.write("<font color='#CCCCCC' face='ARIAL' size='2'><b><img src='calendario.gif' width=5%> "+dayarray[day]+", "+daym+" de "+montharray[month]+" de "+year+"</b></font>") Espero que te sirva.
Saludos |