Quote Originally Posted by wes4dbt View Post
Code:
If Not IsDate(txtSubmit.Text) Or CDate(txtSubmit.Text) <> Today
Do you realize that "Today" returns a date and time?
It does, but the time part is zero. Today is equivalent to Now.Date. In fact, it's probably implemented that way because DateTime.Today is implemented as DateTime.Now.Date.