I'm testing to see if a date is current. This code works fine, except it returns the error message when todays date is chosen. I'm using the < sign, why is it returning the error message for todays date?
Code:If CDate(txtIntDisStartDate.Text) < Now Then lblErr.Text = "Display Start Date must be current" Exit Sub End If




Reply With Quote