I want to format date from \"MMM dd, yyyy HH:mm:ss a\" to \"MM.dd\". I have following code
SimpleDateFormat ft = new SimpleDateFormat (\"MMM dd, yyyy hh:mm:s
SimpleDateFormat sdf = new SimpleDateFormat("MM.dd", Locale.US); System.out.println("Formatted Date: " + sdf.format(date));