|
-
Dec 3rd, 2002, 05:02 PM
#1
Thread Starter
Lively Member
Time of Day
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?
-
Dec 3rd, 2002, 05:35 PM
#2
Thread Starter
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|