How can I setup a UTC Time Zone in analog clock with actionscript 3?
I use this code from an YouTUBE tutorial:
addEventListener(Event.ENTER_FRAME, timehandler);
function timehandler(event:Event):void
{
var currentdate:Date = new Date();
second_hand.rotation = currentdate.seconds * 6
minute_hand.rotation = currentdate.minutes * 6 + currentdate.seconds / 10;
hour_hand.rotation = currentdate.hours * 30 + currentdate.minutes / 2;
}
And this clock work perfect, but how can I setup different Time Zone, not this one time zone on the computer?
