Question: how to calculate days difference between two dates in vb.net?
Answer: Dim dt1 As DateTime = Convert.ToDateTime(DateTimePicker1.Value.ToString("dd/MM/yyy"))
Dim dt2 As DateTime = Convert.ToDateTime(DateTimePicker2.Value.ToString("dd/MM/yyy"))
''count total day between selected your date.
Dim ts As TimeSpan = dt2.Subtract(dt1)