Ver Mensaje Individual
  #1 (permalink)  
Antiguo 01/06/2006, 16:56
retro_mb
 
Fecha de Ingreso: abril-2006
Mensajes: 56
Antigüedad: 18 años
Puntos: 0
Reloj Que Me Marque Hora De Otro Pais?

HOLA QUE TAL TENGO UN RELOJ DIGITAL PERO ME GUSTARIA SABER COMO PUEDO PONERLE PARA QUE ME MARQUE LA HORA DE ALEMANIA POR EJEMPLO, SE PUEDE? GRACIAS SI ALGUIEN ME PUEDE AYUDAR, LES DEJO PARA QUE VEAN COMO LO TENGO.

onClipEvent (load) {
days = new Array("Domingo", "Lunes", "Martes", "Miercoles", "Jueves", "Viernes", "Sabado", "Domingo");
months = new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");
timedate = new Date();
}
onClipEvent (enterFrame) {
hour = timedate.getHours();
minutes = timedate.getMinutes();
seconds = timedate.getSeconds();
todaydate = timedate.getDate();
day = timedate.getDay();
dayname = days[day];
month = timedate.getMonth();
monthname = months[month];
year = timedate.getFullYear();
if (length(minutes) == 1) {
minutes = "0"+minutes;
}
// end if
if (length(seconds) == 1) {
seconds = "0"+seconds;
}
// end if
currenttime = hour+":"+minutes+":"+seconds;
currentdate = todaydate+"/"+month+"/"+year;
fulldate = dayname+" "+todaydate+" "+monthname+" "+year;
delete timedate;
timedate = new Date();
}