I have following code for date and time in vb.net.
I am not able to set timer in the textbox 4 and 5.
What could be there in timer1 event?
Dim theDate As Date
theDate = Format(Now(), "short date")
TextBox1.Text = theDate
Dim mytime As System.DateTime
Dim hours As Double = 2
mytime = Now.ToShortTimeString
TextBox2.Text = mytime
Textbox3.Text = mytime.AddHours(+hours)
Timer1.Start()