Ver Mensaje Individual
  #3 (permalink)  
Antiguo 01/03/2005, 16:44
Jon4
 
Fecha de Ingreso: febrero-2005
Mensajes: 28
Antigüedad: 19 años, 2 meses
Puntos: 0
Código:
timedate = new Date();
hora = timedate.getHours();
minuts = timedate.getMinutes();
segundos = timedate.getSeconds();
      if (Length(minutes)==1) {
      minutos = "0" + minutos;
   }
   if (Length(seconds)==1) {
      segundos = "0" + segundos;
   }
   time = hora + ":" + minutos + ":" + segundos;

function fecha(){
dias=new Array("domingo","lunes" ... );
meses=new Array("enero","febrero" ... );
myDate = new Date();
dia = myDate.getDay();
mes = myDate.getMonth();

return (dias[dia]+", "+myDate.getDate()+" de "+meses[mes]+" del "+ myDate.getFullYear());
}
txtFecha.text ="la hora actual " +time + "Hoy es "+fecha();
Pon eso en un frame, crea un Campo de Texto Dinamico y ponle como Nombre de instancia txtFecha. Eso es todo, espero que te sirva