Rent calculating for each day from check-in time and checkout time. If check-in at 31-08-2016 and checkout at 01-09-2016 then it was calculating rent to 30 days. But it has to calculate for only 1 day.
char sp = '/';
string[] date = checkin.Split(sp);
string[] date2 = checkout.Split(sp);
int c1 = Convert.ToInt32(date[0]);
int c0 = Convert.ToInt32(date2[0]);
totday = c0 - c1;