# Time zone detection in Flash?

**URL:** <https://forum.kirupa.com/t/time-zone-detection-in-flash/178137>\
**Category:** flash\
**Created:** [February 8, 2006, 12:09am UTC](https://forum.kirupa.com/t/time-zone-detection-in-flash/178137 "2006-02-08T00:09:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anthonyfaust](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@anthonyfaust](https://forum.kirupa.com/u/anthonyfaust)\
**Post date:** [February 8, 2006, 12:09am UTC](https://forum.kirupa.com/t/time-zone-detection-in-flash/178137/1 "2006-02-08T00:09:51Z")

</div>

Hi everyone,

I need help trying to make a clock in Flash that shows the time in Torino, Italy, and then the time in the Atlantic, Central, mountain, and pacific time zones.

The problem is that when I use the get Time functions in Flash (minutes, seconds, hours, etc.), it’s all dependent on where the person is. If someone is in L.A, Torino is 9 hours ahead but if they are in D.C, it’s only 6 hours ahead.

So how do I make this clock detect where a person is, then be smart enough to say, “ok, now I need to add so many hours to the time to show the correct time in Torino”?

Thanks in advance,  
Anthony
