when querieing the server for system time on an AIX platform we are getting the systems GMT time (not modified for British sumer time) when the same code is run on a windows machine it returns the correct BST time.
TimeZone.setDefault(TimeZone.getTimeZone("Europe/London"
);
DateFormat britStdDf = DateFormat.getTimeInstance(DateFormat.LONG, Locale.UK);
GregorianCalendar britStdCal = new GregorianCalendar();
System.out.println("the current hrs is " + britStdCal.get(Calendar.HOUR_OF_DAY));
System.out.println("the current min is " + britStdCal.get(Calendar.MINUTE));
System.out.println("the current sec is " + britStdCal.get(Calendar.SECOND));
System.out.println("the day of week is " + britStdCal.get(Calendar.DAY_OF_WEEK));
TimeZone.setDefault(TimeZone.getTimeZone("Europe/London"
DateFormat britStdDf = DateFormat.getTimeInstance(DateFormat.LONG, Locale.UK);
GregorianCalendar britStdCal = new GregorianCalendar();
System.out.println("the current hrs is " + britStdCal.get(Calendar.HOUR_OF_DAY));
System.out.println("the current min is " + britStdCal.get(Calendar.MINUTE));
System.out.println("the current sec is " + britStdCal.get(Calendar.SECOND));
System.out.println("the day of week is " + britStdCal.get(Calendar.DAY_OF_WEEK));