try { SimpleDateFormat sdf = new SimpleDateFormat( "yyyy-MM-dd"); Calendar c = Calendar.getInstance(); c.setTime(sdf.parse(info.getAddTime())); // 设置当前日期 c.add(Calendar.DATE, 1); // 日期加1 Date date = c.getTime(); // 结果 mEditor.putString(ISUPDATAPRODUCT, sdf.format(date)); mEditor.commit(); } catch (ParseException e) { // TODO Auto-generated catch block e.printStackTrace(); }