Hi, How are you sending the date over RPC ? as a Date ? And how are you storing it ? as a string ? The Date object does not allow you to change the timezone, it is always using the local one since it does not store it with the Date object.
AFAIK the Date object behaves correctly in GWT, it can sometimes be a bit strange if you don't include the timezone or when sometimes you convert it to a string in the browser vs on the server side and those machines are in a different timezone. David On Wed, May 29, 2013 at 3:05 PM, Kedar Vyawahare < [email protected]> wrote: > Hi all, > > I am using a date picker in date box and storing the date in > database.But database is remotely hosted which is in different timezone. > > So the date get changed as there is timezone difference. > > Please suggest some way out. > > -- > > Thanks & regards , > > Kedar > > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
