0 Replies Latest reply on Sep 24, 2005 11:28 AM by Ross Greinke

    date objects created using gmt timezone

    Ross Greinke Newbie

      Jboss 4.0.2

      After some amount of time with the server running, a call to new Date() generates a date that is not localized to my timezone. It is off by the difference between my timezone and GMT. I'm not trying to convert it, yet when I store it in an Oracle database, the time gets stored as if it were in GMT. When reading the date back in, it references a time (that to me) looks like a date in the future, since the Java VM converts times to the timezone my server is running in.

      This was not happening in JBoss 4.0.1, it only started after we put 4.0.2 into our test environment.

      Any hints? Any known bugs?