-3

What I want the Image output in my application

In the last date I want to total days

enter image description here

Amit Jesani
  • 155
  • 2
  • 9

1 Answers1

1
int days = DateTime.DaysInMonth(year, month);
Mashhad Saleem
  • 176
  • 1
  • 2
  • 17
  • I Think you forgot the first part of the question which was to get the number of months between two dates this can be done by ((date1.Year - date2.Year) * 12) + date1.Month - date2.Month – yawnobleix Jun 12 '19 at 08:02