posted 23 years ago
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