I am getting date from sqlite using sqliteOpenHelper in Android and want to add days like 42, 70 etc Getting date is fine adding 42 from current date is fine but then I add 70 thats thats not working fine. Here is the code example
Try this:
c.add(Calendar.DAY_OF_MONTH, 42);
c.add(Calendar.DAY_OF_MONTH, 70);