Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

current time problem on AIX

 
Maris Orbidans
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

HOUR_OF_DAY: 12
MINUTE: 17
SECOND: 23
ZONE_OFFSET: 1
DST_OFFSET: 1
Time Zone: Central European Time


 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4252829
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic