How about this:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Label1.Text = TimeOfDay.ToString("hh:mm:ss tt")
End Sub
That will give the current time showing only AM/PM instead of the date.
(modify to work with your timer)
james
"Rich" <Ri**@discussions.microsoft.com> wrote in message
news:DC**********************************@microsof t.com...
Hello,
I have a label in my app where I display time from a Timer contol like
this:
Private Sub Timer1_Tick(...) Handles Timer1.Tick
lbl_Time.Text = TimeOfDay.ToString
End Sub
The display is 1/1/0001 10:00:01 AM
How can I remove the 1/1/0001 part?
Thanks,
Rich