This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Java in General and the fly likes current time problem on AIX Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "current time problem on AIX" Watch "current time problem on AIX" New topic

current time problem on AIX

Maris Orbidans
Ranch Hand

Joined: Mar 08, 2004
Posts: 149
Hi all,

We have a problem with Java (1.3) time being different than system time on an AIX box. Timezones seem to be correct. Java reports Central European Time and TZ environment variable is NFT-1DFT+01:00:00,M3.5.0/02:00:00,M10.5.0/03:00:00. But there is 3 hours difference !

> date
Thu Jul 15 09:17:22 DFT 2004

> java CurrentTime

Time Zone: Central European Time

Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
A quick Google around shows that this may be related to some time zone bugs reported for 1.3 and various zones, including the Euro Central time:
I agree. Here's the link:
subject: current time problem on AIX
It's not a secret anymore!