Problem with SimepleDateFormat for the military pattern....
807605Oct 3 2007 — edited Oct 3 2007i have the code, which has to display date in the military format i.e., "yyyyMMddhhmm".
java.util.Date date = new SimpleDateFormat("yyyyMMddhhmm").parse("200709201700");
System.out.println("Expected Date : " + date);
but output displays everytime i.e., Thu Sep 20 17:00:00 IST 2007
is there any problem with the pattern???