Tuesday, September 16, 2014

Re: GWT and TimeZone

I assume you are asking about emulated Java inside the browser. In this case java.util.Date (emulated) is always in the browser's time zone.

If you want to get GMT/UTC then you can use getTimezoneOffset to work out how far the browsers TZ is away from UTC.

Note however that all the calculation java.util.Date will do will be in the browser local timezone.

On Friday, September 12, 2014 3:55:40 PM UTC+1, Gioacchino Del Prete wrote:
Hello everybody.

I have a question, 

if I have a Date in any TimeZone and I want to convert this Date in a Date with TimeZone GMT + 00 (London), how can I do?

Thank you for the reply

Best regards.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment