Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Iplanet showing system date + 5:30 hrs  RSS feed

 
Shalin Kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!