public String getTimeValidity(){
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_YEAR,-90);
String strDate = cal.get(Calendar.YEAR) + "-" + (cal.get(Calendar.MONTH)+1) + "-" + cal.get(Calendar.DATE);
return strDate;
}
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DAY_OF_YEAR,-90);
String strDate = cal.get(Calendar.YEAR) + "-" + (cal.get(Calendar.MONTH)+1) + "-" + cal.get(Calendar.DATE);
return strDate;
}