TimeSpan TS = DateTimePickerToDate.Value.Date - DateTimePickerFromDate.Value.Date; Console.WriteLine(TS.ToString());
Login to post response