I want to do something like counting date, it's truly like this
First I click on one date time picker which called 'dtpstart'. Then I typed number of dates on text box called 'period'. After that I want to show what is the date ?
For Ex:
dtpstart = 2016.01.01
period = 10
lastdate = 2016.01.11
I want to get this last date to label.
Currently I'm trying this code : but It doesn't work.
Dim datestart As Date
datestart = dtploanstart.Value
Dim i As Integer
For i 1 to 65
datestart = dtploanstart.Value.AddDays(1)
Next
datestart = dtploanend.Value
can anyone help ?