I have a timer and a text box on a form. At 12:00PM I want my textbox to read "Good Afternoon". How do I do this?
Printable View
I have a timer and a text box on a form. At 12:00PM I want my textbox to read "Good Afternoon". How do I do this?
Nevermind I figured it out:
If System.DateTime.Now.Hour=16 And DateTime.Now.TimeOfDay.Minutes = 32 And DateTime.Now.TimeOfDay.Seconds = 0 Then
MsgBox("It is now 4:32")
End If
:)