title: DateAdd function to add months
body: <p>I used this code to add months </p>
  
  <pre><code>dtExpiry = DateAdd(DateInterval.Month, intDuration, dtStartDate)
  </code></pre>
  
  <p>and I also tried this code, </p>
  
  <pre><code>dtExpiry = DateAdd("m", bytDuration, dtMemStartDate)
  </code></pre>
  
  <p>but every time it just adds Days not months. The date format has to be dd/mm/yyyy. I've changed my PC date format to dd/mm/yyyy but still it keeps adding Days instead of Months. </p>
  
  <p>BTW I'm receiving the duration and startDate from the Main calling program which extract these values from a data file thats in CSV format.</p>