DateTime.Now.ToString("MM/dd/yyyy")
myTimer.Enabled = True myTimer.Interval = 1000
Private Sub myTimer_Tick(sender As Object, e As EventArgs) Handles myTimer.Tick TextBox5.Text = DateTime.Now.ToString("MM-dd-yyyy") End Sub
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)