How to get Difference between SelectStartDate to SelectEndDate on monthcalender in C#
<p>I m trying to get date count from month calender on C# .my code like this</p>

<pre><code>leave.Amount = Convert.ToInt32((mclDateRange.SelectionEnd - mclDateRange.SelectionStart).TotalDays.ToString());
</code></pre>

<p>I got error like this </p>

<blockquote>
  <p><em>Input string was not in a correct format.</em></p>
</blockquote>
