lo que tenia:
var time = new Date();
var hour = time.getHours();
var minute = time.getMinutes();
var second = time.getSeconds();
var millisecond = time.getMilliseconds();
setProperty ("hour", _rotation, hour*30);
setProperty ("min", _rotation, minute*6);
setProperty ("sec", _rotation, second*6);
setProperty ("milli", _rotation, millisecond / 100 *36);
var display = hour add ":" add minute add ":" add second add ":" add millisecond;
lo que tengo ahora:
var time = new Date().getTimezoneOffset();
var hour = time.getUTCHours()
var minute = time.getUTCMinutes()
var second = time.getUTCSeconds()
var millisecond = time.getUTCMilliseconds()
setProperty ("hour", _rotation, hour*30);
setProperty ("min", _rotation, minute*6);
setProperty ("sec", _rotation, second*6);
setProperty ("milli", _rotation, millisecond/100*36);
var display = hour add ":" add minute add ":" add second add ":" add millisecond;
Que me falta?
por cierto, vivo en bolivia y mi reloj es igual que al de venezula!