title: Datediff() function not getting the expected result in VB.NET
body: <p>I am using the following code in my project. I want to find the number of days by given the last date and now.</p>
  
  <pre><code>Dim BorrowDate As Date
  Dim i As Integer
  BorrowDate = Date.Parse(txtBorrowDate.Text)
  i = DateDiff(DateInterval.Day, BorrowDate, DateTime.Now)
  </code></pre>
  
  <p>for example, when BorrowDate is "01/Jul/2011" then the result is 7 days which it should be 10 to now. Please help</p>