• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Iplanet showing system date + 5:30 hrs

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I use iplanet 4.1 sp8. When I print the date using
out.println(new java.util.Date());
it gives the system date added with 5:30 hrs. The output is something like this.
Sat Dec 08 23:42:06 GMT+05:30 2001
but the system date using #date in solaris is
Sat Dec 8 18:13:58 Asia/Calcutta 2001
This is the case if I use the jre available in iPlanet itself. If I use the jre shipped with jdk1.3 it gives me the proper time.
Sat Dec 8 18:13:58 GMT+05:30 2001
Any idea why?..
Thanx,
Shalin
 
reply
    Bookmark Topic Watch Topic
  • New Topic