# Flash MX Analogue Time Zone Clock

**URL:** <https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404>\
**Category:** flash\
**Created:** [April 3, 2002, 6:26am UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404 "2002-04-03T06:26:29Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2002, 6:26am UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/1 "2002-04-03T06:26:29Z")

</div>

Hi,

I need some help trying to build a Time Zone clock using Flash MX/5.0. Is it possible to build a clock so no matter where the site page is being accessed the user is able to see the correct times for other time zones, e.g. London, New York, Dubai, etc.

I would welcome any help!! Thanks in advance.

Novice User.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2002, 6:34am UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/2 "2002-04-03T06:34:04Z")

</div>

Sure… there is a mean time in Flash. Do you know how to use the Date object already?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2002, 4:18pm UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/3 "2002-04-03T16:18:38Z")

</div>

[www.kirupa.com/developer/…/clock.asp](http://www.kirupa.com/developer/actionscript/clock.asp)

check out this tutorial by…me! it displays the correct time anywhere because it takes the time off of the users system. and then puts that information into flash and displays the time…here ya go…if you need any help then post…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2002, 6:24pm UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/4 "2002-04-03T18:24:10Z")

</div>

“…no matter where the site page is being accessed the user is able to see the correct times for other time zones…”  
was the ?, not the users comp time!

I guess you’d have to find a way to make the user select their time zone, and set a variable according to that, different value for each zone, and based on that, calculate the offset for the zone (s) you want to display. Makes sense?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2002, 7:01pm UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/5 "2002-04-03T19:01:34Z")

</div>

ohhhh, for other time zones. lol…didn’t read it all the way through…gotta start doin that…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 7, 2002, 1:44pm UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/6 "2002-04-07T13:44:38Z")

</div>

[www.flashkit.com/movies/I…ndex.shtml](http://www.flashkit.com/movies/Interfaces/Navigation/Time_Zon-Gareth_P-702/index.shtml)

maybe with a little tweak…at least you got the basics…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 8, 2002, 8:03am UTC](https://forum.kirupa.com/t/flash-mx-analogue-time-zone-clock/2404/7 "2002-04-08T08:03:20Z")

</div>

Well, unless you’ve got predefined timezones that you want to show… in which case you just find out the time according to GMT, (there’s a function in the date object for that.) and then subtract or add hours based upon which ones you want to show.
