Countdown ads specific to TimeZones

Hi all, this is my first ever post, so please bear with me. I need to create some countdown ads using Flash CS3 for an event which will be happening at the same time worldwide. So, when putting the endtime in, I need each corresponding time zone in the USA to adhere to the time difference. Is this possible to do, all within the same ad, rather than having to create an ad for each time zone?

The code I’m using runs thus:

this.onEnterFrame = function() {

var today:Date = new Date();
var currentYear = today.getFullYear();
var currentTime = today.getTime();

var targetDate:Date = new Date(currentYear,8,24,15,00);
var targetTime = targetDate.getTime();

var timeLeft = targetTime - currentTime

var sec = Math.floor(timeLeft/1000);
var min = Math.floor(sec/60);
var hrs = Math.floor(min/60);
var days = Math.floor(hrs/24);
sec = string(sec % 60);
if (sec.length < 2) {
    sec = "0" + sec;

}
min = string(min % 60);
if (min.length < 2) {
    min = "0" + min;

}
hrs = string(hrs % 24);
if (hrs.length < 2) {
    hrs = "0" + hrs;
}
days = string(days);

var counter:String = days + ":" + hrs + ":" + min + ":" + sec;
time_txt.text = counter;

}

So, if anyone can help me rewrite the code – I’m an artist, not a programmer, and only managed to get the code to work by following a very helpful video tutorial online.
Thanks for listening, hope someone can help :slight_smile: