wood burning stoves*
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 Android Security Essentials Live Lessons this week in the Android 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: 10175
    
    8

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
BigDecimal to Date Conversion
LeapCentury--Date fun. fails to identify?
Taking BETA on Feb 2nd
Going to test on Jan 21
DayLight Savings time TO CST conversion