Hi All,
I'm retrieving the systime using the Date class and offsetting it to SGT using SinpleTimeZone. The code works fine in
Java 1.1.7 environment but fails on the Java 1.1.3 environ.
SimpleTimeZone stz = new SimpleTimeZone(+8*60*60*1000,"Asia/Singapore");
SimpleTimeZone.setDefault(stz);
formatter = new SimpleDateFormat("ddMMMyyyy hh:mm:ss a");
Date date = new Date();
StringBuffer timeStampBuff = new StringBuffer();
System.out.println(formatter.format(date).toString());
Is this a known bug or something which I have missed out.
Thanks in advance,
Mahesh