Need Help to figure out date behavior
Here is my code
String currentdate = new String();
Calendar calender = Calendar.getInstance();
currentdate = calender.get(Calendar.YEAR) + "-" +
calender.get (Calendar.MONTH) + "-" +
calender.get(Calendar.DAY_OF_MONTH) ;
My question is I have tested this code on 3 different windows machines,but for some reason
it gives me june as in month where as its july.
I know that day light saving does impact one hour but whats this?( month time saver?..:-).....)
please help...

