Right now I am using the code below to post a message between 12 and 1.
How would I post the same message but only for the times of 12:00pm to 12:15pm as same Monday - Friday?
Tried several things using timers but it isn't working. Thanks in advance!...
Dim now As DateTime = DateTime.Now
If Not (now.DayOfWeek = DayOfWeek.Saturday Or now.DayOfWeek = DayOfWeek.Sunday) Then
If now.Hour = 12 Then
lblMessage.Text = "Lunch Time"
lblMessage.Text = String.Empty