I did something for a client that may be helpful -
It's  in AS2 - easy to modify, add to, etc.:

http://jimbo.us/lab/worldClock.html

Jimbo
http://jimbo.us
----- Original Message ----- From: "Corban Baxter" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, September 06, 2007 10:17 AM
Subject: Re: [Flashcoders] coding a world clock


hey keith or any of you guys have you had a chance to look any further into
this. I have put it to the side since the time i posted but I am going to
try and get back at it very quickly.

On 9/3/07, Marcelo Volmaro <[EMAIL PROTECTED]> wrote:

Something like this?

        private static var timeZones:Array = [
                [-1, "Azores","Brazil Atlantic Islands","Cape
Verde","Greenland
Scoresbysun","Guinea Bissau"],
                [-2, "Antarctica"],
                [-3, "Argentina","Brazil East", "French Guiana",
"Greenland",
"Guyana","St Pierre & Miquelon","Suriname","Uruguay"],
                [-3.5, "Canada Newfoundland"],
                [-4, "AST: Atlantic Standard","Anguilla", "Antigua",
"Argentina western
prov","Aruba","Barbados","Bermuda","Bolivia","Bonaire","Brazil
Acre","Brazil West","British Virgin Islands","Canada
Atlantic","Chile","Curacao","Dominica","Dominican Republic","Falkland
Islands","Greenland Thule","Grenada","Grenadines","Guadeloupe","Leeward
Islands","Martinique","Netherlands Antilles","Nevis
Montserrat","Paraguay","Puerto Rico","Saba","St Christopher","St
Croix","St John","St Kitts Nevis","St Lucia","St Maarten","St Thomas","St
Vincent","Trinidad and Tobago","Venezuela","Virgin Islands","Windward
Islands"],
                [-5, "EST: Eastern Standard","Bahamas","Canada
Eastern","Cayman
Islands","Colombia","Cuba","Ecuador","Galapagos
Islands","Haiti","Jamaica","Panama","Peru","Turks and Caicos Islands","USA
Eastern","USA Indiana East"],
                [-6, "CST: Central Standard","Belize", "Canada
Central","Costa
Rica","Easter Island","El
Salvador","Guatemala","Honduras","Mexico","Nicaragua","USA Central"],
                [-7, "MST: Mountain Standard","Canada Mountain","Mexico
Nayarit","Mexico
Sinaloa","Mexico Sonora","USA Arizona","USA Mountain"],
                [-8, "PST: Pacific Standard","Canada Yukon &
Pacific","Mexico Baja Calif
Norte","USA Pacific"],
                [-9, "Gambier Island","USA Alaska"],
                [-9, "Marquesas Islands"],
                [-10, "Christmas Islands","Cook Islands","French
Polynesia","Johnston
Island","Society Island","Tahiti","Tuamotu Island","Tubuai Island","USA
Aleutian","USA Hawaii"],
                [-11, "NT: Nome","American Samoa","Canton Enderbury
Islands","Midway
Island","Niue Island","Samoa"],
                [-12, "IDLW: International Date Line West"],

                [0, "Ascension","Burkina Faso","Canary Islands","Channel
Islands","Cote
d'Ivoire","England","Faroe
Island","Gambia","Ghana","Guinea","Iceland","Ireland Republic
of","Liberia","Madeira","Mali","Mauritania","Morocco","Northern
Ireland","Principe Island","Sao Tome e
Principe","Scotland","Senegal","Sierra Leone","St Helena","Togo","United
Kingdom","Wales"],
                [1.00, "CET Central European",
"Albania","Algeria","Andorra","Angola","Austria","Balearic
Islands","Belgium","Benin","Bosnia Hercegovina","Cameroon","Central
African Rep","Chad","Congo","Czech
Republic","Dahomey","Denmark","Equatorial

Guinea","France","Gabon","Germany","Gibraltar","Hungary","Italy","Luxembourg","Macedonia","Mallorca

Islands","Malta","Melilla","Monaco","Namibia","Netherlands","Niger","Nigeria","Norway","Poland","Portugal","San

Marino","Slovakia","Slovenia","Spain","Sweden","Switzerland","Tunisia","Vatican
City","Yugoslavia","Zaire Kinshasa Mbandaka","Croatia"],
                [2.00, "EET Eastern

European","Belarus","Botswana","Bulgaria","Burundi","Cyprus","Egypt","Estonia","Finland","Greece","Israel","Jordan","Latvia","Lebanon","Lesotho","Libya","Lithuania","Malawi","Moldova","Moldovian
Rep Pridnestrovye","Mozambique","Romania","Russian Federation zone
one","Rwanda","South
Africa","Sudan","Swaziland","Syria","Turkey","Ukraine","Zaire Haut
Zaire","Zaire Kasai","Zaire Kivu","Zaire Shaba","Zambia","Zimbabwe"],
                [3.00,

"Azerbaijan","Bahrain","Djibouti","Eritrea","Ethiopia","Iraq","Kenya","Kuwait","Madagascar","Mayotte","Qatar","Russian
Federation zone two","Saudi
Arabia","Somalia","Tanzania","Uganda","Yemen"],
                [3.50, "Iran"],
                [4.00,
"Armenia","Georgia","Mauritius","Oman","Reunion","Russian
Federation zone three","Seychelles","United Arab Emirates"],
                [4.50, "Afghanistan"],
                [5.00, "Kyrgyzstan","Maldives","Pakistan","Russian
Federation zone
four","Turkmenistan","Uzbekistan"],
                [5.50, "India","Sri Lanka"],
                [5.75, "Nepal"],
                [6.00, "Bangladesh","Bhutan","Kazakhstan","Russian
Federation zone
five","Tajikistan"],
                [6.50, "Myanmar"],
                [7.00, "Cambodia","Indonesia West","Laos","Russian
Federation zone
six","Thailand","Vietnam"],
                [8.00, "Australia Western","Brunei","China People's
Rep","Hong
Kong","Indonesia Central","Malaysia","Mongolia","Philippines","Russian
Federation zone seven","Singapore","Taiwan"],
                [9.00, "YST: Yukon Standard","Indonesia
East","Japan","Korea Dem
Republic of","Korea Republic of","Palau","Russian Federation zone eight"],
                [9.50, "Australia Northern Territory","Australia South"],
                [10.00, "AHST: Alaska-Hawaii Standard","CAT: Central
Alaska","HST:
Hawaii Standard","Australia New South Wales","Australia
Queensland","Australia Tasmania","Australia Victoria","Australian Capital
Territory","Guam","Mariana Island","Northern Mariana Islands","Papua New
Guinea","Russian Federation zone nine"],
                [10.50, "Australia Lord Howe Island"],
                [11.00, "Caroline Island","New Caledonia","New
Hebrides","Ponape
Island","Russian Federation zone ten","Solomon Islands","Vanuatu"],
                [11.50, "Norfolk Island"],
                [12.00, "IDLE: International Date Line
East","Fiji","Kiribati","Kusaie","Kwajalein","Marshall Islands","Nauru
Republic of","New Zealand","Pingelap","Russian Federation zone
eleven","Tuvalu","Wake Island","Wallis and Futuna Islands"],
                [13.00, "Tonga"],
                [14.00, "Line Islands: Kiritibati"]
        ];


Regards,

On Sun, 02 Sep 2007 19:26:15 -0300, Keith Reinfeld
<[EMAIL PROTECTED]> wrote:

> Hi,
>
> This thread inspired me to prototype my own world clock. And, yes the
> Date
> object does provide the means to convert local time to remote time IF
you
> have the remote location's GMT offset value to plug in. I think this is
> the
> data Corban was asking after. http://wwp.greenwichmeantime.com/ and
> Wikipedia maybe good general information sources, but I haven't been
> able to
> find a nice tidy list of locations and their GMT offsets that I can
> effortlessly implement in Flash.
>
> Regards,
>
> -Keith
> http://keithreinfeld.home.comcast.net
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com



--
_____________
Marcelo Volmaro
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Corban Baxter
http://www.projectx4.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to