Hi,
I've some trouble sending correct dates to the server. Our server expects dates like 2009-01-07 (in XML). If there is some timecode behind, it is ignored.
Now I've some DataSources containing DataSourceDateField. These fields are displayed and edited in ListGrids using a DateItem as editor.
When I set 2009-01-07 in the grid, 2009-01-06T23:00:00 is send the server. 2009-01-07Txx:xx:xx would be fine.
When I create a java.util.Data object on the client and call getTimezoneOffset, I get "-60" - I guess, that's the problem.
How can I send the correct date to the server? Can I globally set the timezone?
Thanks & kind regards
Thilo
I've some trouble sending correct dates to the server. Our server expects dates like 2009-01-07 (in XML). If there is some timecode behind, it is ignored.
Now I've some DataSources containing DataSourceDateField. These fields are displayed and edited in ListGrids using a DateItem as editor.
When I set 2009-01-07 in the grid, 2009-01-06T23:00:00 is send the server. 2009-01-07Txx:xx:xx would be fine.
When I create a java.util.Data object on the client and call getTimezoneOffset, I get "-60" - I guess, that's the problem.
How can I send the correct date to the server? Can I globally set the timezone?
Thanks & kind regards
Thilo
Comment