data retreival form database in android
===

In my application i have  2 field, 1 is date and another is recc(is an integer) in database table.

Now i will explain my requirement:

Consider suppose user enters today's date(26-07-2012) and recc as 10.It means that starting from today's date to that +10 date.I got that 10th date from today's date.But what i want is 10th day form today's date means it will surely go to next month also 26-07-2012----5-08-2012,but i have to know the count of date which falls in this particular month,(i.e)between 26-07-2012----5-08-2012 how many days it will fall within this month.I think i have explained my problem clearly,if not i am ready to give more explanation.Thanks in advance.