Hello Guys! I'm trying to to display the next days's date whenever the user clicks the button.Not quite sure how can i do it in vb.net.
Basically the date should be incremented by one everytime we click on the submit button.
For eg: 24/5 click
I'm attaching the code that i've used to display tomorrow's date. Thanks in advance.
Dim Dt As DateTime = DateTime.Now()
Dim dtTomorrow As DateTime
dtTomorrow = Dt.AddDays(1)
txtempattendence.Text = dtTomorrow.ToShortDateString