[OT] Re: wrong time in Java Applications to my location (new Date())

2004-11-18 Thread Jon Wingfield
The default timezone of a Sun JVM is determined by user locale settings. If the runtime can't determine a sensible timezone from those it defaults to GMT, which is 3hrs off from Brazilia time, i think. Looking at the source of TimeZone it uses the following system properties: user.timezone

wrong time in Java Applications to my location (new Date())

2004-11-17 Thread Acácio Furtado Costa
Hi everybody We have a Tom Cat application Server 5.0.19 running in a Windows 2003 with a Sun JDK 1.4.2. We are having problems with time of our Applications . The time is correct under SO but we have 3 hours of difference in the applications (+3). Our offset