I would probably use the following to make sure that you are comparing only the date component and not the time component if there is one.
If CDate(txtPreBidOpenDate.Text).Date = DateAdd(DateInterval.Day, 1, CDate(txtBidOpenDate.Text).Date)
Harold Hoffman




Reply With Quote