Ver Mensaje Individual
  #3 (permalink)  
Antiguo 31/08/2002, 12:05
5stone
 
Fecha de Ingreso: agosto-2002
Mensajes: 52
Antigüedad: 21 años, 8 meses
Puntos: 0
Re: Fecha dentro de una tabla!!! help

Este es el bendito codigo...

"Aca sale la fecha"
---------------------------------------------

TABLA
---------------------------------------------


<script languaje="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&qu ot;,"Viernes","Sabado")
var montharray=new Array("Enero","Febrero"," Marzo","Abril","Mayo",&qu ot;Junio","Julio","Agosto&quot ;,"Septiembre","Octubre",&quot ;Noviembre","Diciembre")
document.write("<small><font color='000000' face='Arial'>"+dayarray[day]+" "+daym+" de "+montharray[month]+" de "+year+"</font></small>")

</script>

A VER SI ALGUIEN ME TIRA UNAS PISTAS!! ARRIBA]