DateTime dt = DateTime.ParseExact(datetimein, "dd/MM/yyyy", null); DateTime dt1 = DateTime.ParseExact(datetimeout, "dd/MM/yyyy", null); string checkindate = dt.Day.ToString(); string checkinmonth = dt.Month.ToString(); string checkinyear = dt.Year.ToString(); string checkoutdate = dt1.Day.ToString(); string checkoutmonth = dt1.Month.ToString(); string checkoutyear = dt1.Year.ToString(); %>