• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

current time problem on AIX

 
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic