• 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:
  • Campbell Ritchie
  • Liutauras Vilda
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Peter Rooke
  • Himai Minh
Bartenders:
  • Piet Souris
  • Mikalai Zaikin

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
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic