TimeSpan ts = secondDate.Value - firstDate.Value; myTextBox.Text = ts.Days.ToString();
x = DateTimePicker1.Value.Day - DateTimePicker2.Value.Day
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)