date ---->String SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM");
Date systemDate = getSystemDate();
String strDate= sdf.format(systemDate);
String---->date
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM");
String date= sdf.format(systemDate); Date date= sdf.parse(date);