public String getTimestamp(String conc, String code) {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy" + conc
+ "MM" + conc + "dd");
Date date;
try {
date = simpleDateFormat.parse(code);
long timeStemp = date.getTime();
// System.out.println(timeStemp );
String ntimestemp = String.valueOf(timeStemp);
return ntimestemp;
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;
}