Hi, we had similiar problem. You have to create some Utils class that
would create GWT TimeZone object from your ID (Europe/London, ...).
After this you can use methods from TimeZone object that will compute
you correct time in different timezone. Anyway there can be a problem
with client (browser) zone. The best approach is to work on server
side in UTC(GMT) time, and when a date will come to client, you have
to transform it into client local time.

We will publish time zone utils library in some google project soon,
where this kind of utils methods will be implemented.

Pavol

On 22 zář, 09:33, Paul Robinson <[email protected]> wrote:
> Timezone support in javascript is pretty weak, and GWT can only do what 
> javascript can do. Google for "javascript timezone" and you'll see what I 
> mean.
>
> You'll be better off doing conversion server side.
>
> HTH
> Paul
>
> On 21/09/11 22:34, Thiru wrote:
>
>
>
>
>
>
>
> > Let's say i have a date in the client side 30-MAR-2011 how do i
> > convert this into NewYork&  London Time considering the daylight
> > savings.
>
> > All am trying to convert a time to a specific timezone. But it looks
> > like GWT Timezone doesnt support ID's(eg., America/New_York, Europe/
> > London, etc.,) which is supported by java.util.TimeZone.
>
> > Anyone came across this and resolved ?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to