Ver Mensaje Individual
  #2 (permalink)  
Antiguo 09/07/2003, 15:57
Avatar de tunait
tunait
Moderadora
 
Fecha de Ingreso: agosto-2001
Ubicación: Terok Nor
Mensajes: 16.805
Antigüedad: 23 años, 6 meses
Puntos: 381
Hola Anna,

prueba cambiando esto

<script language="javascript">
var fecha=new Date()
var anio=fecha.getFullYear() <-- añade lo que puse en negritas
if (anio < 1000) <------ esto quítalo
anio+=2000 <----- esto también
var dia=fecha.getDay()
var mes=fecha.getMonth()
var diames=fecha.getDate()
if (diames<10)
diames="0"+diames
reloj=fecha.getTime()
var listadias=new Array("Diumenge","Dilluns","Dimarts","Dimecres","D ijous","Divendres","Dissabte")
var listames=new Array("Gener","Febrer","Març","Abril","Maig","Juny ","Juliol","Agost","Setembre","Octubre","Novembre" ,"Desembre")
function escribirFecha()
{
document.write(listadias[dia] + ", " + diames + " " + listames[mes] + " " + anio )
}
</script>