0

I have two Datetimepicker and I need to get the total of days.

totalOfDays = Datetimepicker1 + Datetimepicker2 - affected weekends.
Datetimepicker1.Value.date = Wednesday, April 1 2020
Datetimepicker2.Value.date = Wednesday, April 22 2020 

totalOfDays should be 15, not 21.

How to write this in C#?

Mohammed Sajid
  • 4,778
  • 2
  • 15
  • 20
user3442261
  • 1
  • 1
  • 1

0 Answers0