RE: [Flashcoders] world clock - revisited

2008-03-27 Thread Keith Reinfeld
Hi Corban, Marcelo, >Marcelo Volmaro wrote: > I did that code :) Absolutely! And thank you again. Awesome! (Corban and I corresponded on the topic, offlist, back when the Flashcoders list was down for so very long.) > check if I'm in DST And that, Corban, is the trick. At least for me. My W

Re: [Flashcoders] world clock - revisited

2008-03-27 Thread Marcelo Volmaro
I can't send code if that's what you need (because it belongs to a client app) but on each clock (that are a kind of widget you can place into a dashboard) you can select the timezone you want to display in that clock. The time is simply calculated by performing some math on the Date object:

Re: [Flashcoders] world clock - revisited

2008-03-27 Thread Corban Baxter
thats great! Marcelo! sorry about the code confusion. :) do you have any examples of how you are implementing this? I think i have put my clocks together ok... i'd kinda like to see how you are using it. do you mind? On Wed, Mar 26, 2008 at 6:08 PM, Marcelo Volmaro <[EMAIL PROTECTED]> wrote: > I

Re: [Flashcoders] world clock - revisited

2008-03-26 Thread Marcelo Volmaro
I did that code :) You have problems because the US changed the DST policy. Now it starts at SECOND SUNDAY of MARCH and ends at FIRST SUNDAY of NOVEMBER. So, USADLS now should be (2, 0, 3, 1, 0, 11); I don't know if the other policies changed too. This is the latest table: OLD_USADST: new

[Flashcoders] world clock - revisited

2008-03-26 Thread Corban Baxter
Hey all, because of the daylight savings time going on across the world I was having trouble with the world clocks I setup for a client. I tried to implement the code below but was un succesful to do it correctly apparently. Does anyone have any working examples of this. And if so do you mind shari