date is not working properly
Following is the code for adding date
public boolean addDate(int iDate)
Calendar cal = Calendar.getInstance();
cal.add(Calendar.DATE, iDate); // Add days in Dates in Calendar
calling the function.
But the output is giving wrongly, previously for couple of months it was working fine, but now I don't understand why the date function is throwing wrong error
I don't understand what to do!