Thursday, September 23, 2010

Date issue between .NET and GWT

I am using CSharp.NET on the server side and GWT on the client. I am
using the DateBox to choose a date and I then do a getTime() to get
milisecs for the date and send that to the server.

On the server I take the milisecs as a .NET DateTime parameter.

The problem is when I receive the date on the server it is 1 hour
offset from the one which was selected in the DateBox on the browser
which I presume is because of the DayLight saving BST time.

What is the best way to avoid this problem in this situation ?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment