<script type="text/JavaScript">
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="0"+daym
var dayarray=new Array("Domingo","Lunes","Martes","Miercoles","Jueves","Viernes","Sabado")
var montharray=new Array("01","02","03","04","05","06","07","08","09","10","11","12")
document.write("<medium> Hoy estamos a "+dayarray[day]+" "+daym+" "+montharray[month]+" "+year+"</medium>")
</script>
Restore Text
No hay comentarios:
Publicar un comentario