You can use the DateTimeFormat function defined in the com.google.gwt.i18n.client.DateTimeFormat to specify the format.

check out the http://gwt.google.com/samples/Showcase/Showcase.html#!CwDateTimeFormat <http://gwt.google.com/samples/Showcase/Showcase.html#%21CwDateTimeFormat> example in showcase on how to set the various formats

regards
Ashwin

On Thursday 25 August 2011 06:22 PM, mariyan nenchev wrote:
Hi,

How can i format dates in gwt for specific time zone like "GMT+2" for example.

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

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

Reply via email to