File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes GWT and the fly likes Date serialization reduces one date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Date serialization reduces one date" Watch "Date serialization reduces one date" New topic
Author

Date serialization reduces one date

Adi Vicks
Greenhorn

Joined: Feb 23, 2012
Posts: 9
Looks like for me the date serialization reduces date by one when it comes to client. example : if i save a date in database Feb 03, when I retrieve it to the client side it is coming as Feb 02, something happening during the rpc call, I am guessing could be date serialization over timezone issue.

Any idea ?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 9990
    
    7

I remember encountering this when I was using GAE with GWT. Are you using GAE as well?


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tina Smith
Ranch Hand

Joined: Jul 21, 2011
Posts: 171
    
    5

Is the date correct at the server after it is read from the database but before it is sent to the client?


Everything is theoretically impossible, until it is done. ~Robert A. Heinlein
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Date serialization reduces one date
 
Similar Threads
LeapCentury--Date fun. fails to identify?
Going to test on Jan 21
BigDecimal to Date Conversion
Taking BETA on Feb 2nd
DayLight Savings time TO CST conversion