SimpleDateFormat formatter = new SimpleDateFormat("dd/MMM/yyyy:hh:mm:ss Z", Locale.ENGLISH); SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); try {
String date=="24/Jun/2015:09:22:09 +0800";
System.out.println(sdf.format(formatter.parse(date)));
} catch (ParseException e1) {
e1.printStackTrace();
}