Hey guys,

I need help. See, im trying to compare dates. if say, deadline is set and if the user is over the set deadline, it should display a message box saying that he passed his deadline. what i have so far is:

If Date.Today > txtDeadline.Text Then

Msgbox.Show("You've passed the deadline set by the system. You're pretty much f*cked")


End if

Resolved the issue.

just change the date.today to Format(DateAdd(DateInterval.Day, -1, Now()), "yyyyMMdd")

I hope this helps anyone.

And also please Mark the thread as solved.