users
[Top] [All Lists]

Date Serialization

To: users@xxxxxxxxxx
Subject: Date Serialization
From: Brian Bonner <brian.bonner@xxxxxxxxxxxx>
Date: Tue, 17 May 2005 14:33:18 -0400
Delivered-to: mailing list users@cinjug.org
Mailing-list: contact users-help@cinjug.org; run by ezmlm
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)
Guys, I have an app that does Java serialization of POJOs between a client and a server. The POJOs contain a date which stores the time in ms since 1/1/70. The app works fine with one exception -- the date of the pojo displayed in the applet in one time zone is different than the date of the pojo displayed in the applet from a different time zone.

I've talked w/ folks and can only attribute this to the timezone of the PC (or the JVM) being set incorrectly. Does anyone else have any thoughts on what else might be causing this time shift?

Thanks.

--
Brian


<Prev in Thread] Current Thread [Next in Thread>