I have 2 DateTimePickers.
The scenario is similar to checking out a library book. You first have a date you checked OUT the item, and a date you checked it back IN.
I want to make certain that the user enters a "Date checked back in" date that is later that the original "Date checked out". No matter what code I try it will not work. Here is the code as it stands now:
Private Sub dtpDateIn_validating(ByVal eventsender As Object, ByVal e As System.EventArgs) Handles dtpDateIn.ValueChanged
If Val(dtpDateIn.Text) < Val(dtpDateOut.Text) Then
MessageBox.Show("Date In must be later than Date Out")
Any Suggestions? Been at it for hours.