I have a string in this format "20140210084957" I want to convert it to local format. Am almost there except month is not correct, instead of FEB below code is giving JAN, how to fix this.
String dt = valuelist[time];
SimpleDateFormat datetime1 = new SimpleDateFormat("yyyymmddhhmmss");
Date formatted = null;
try {
formatted =datetime1.parse(dt);
} catch (ParseException e) {
e.printStackTrace();
}
dt=formatted.toLocaleString();
//dt = formatted.toString();
Log.d("DT Formatted", ""+dt);
valuelist[time] =dt;
}