I made some code that will check if the time is already pass or not. But looks like this is illogical code that i made.
How can i compare a the time string and the time of the computer ?Code:Dim el As TimeSpan = Now.TimeOfDay
If el.Hours = 10 Or el.Hours = 11 Then
If el.Minutes >= 50 Or el.Minutes <= 55 Then
MessageBox.Show("You were at range of 10:50 AM to 10:55 AM")
Else
MessageBox.Show("You Early/Late")
End If
End If
