Ive tried using IsDate() and made a very simple code just to try and validate one textbox which is the user's input. Everytime i get the Else code meaning the date is not validated properly. Any ideas on how to make it work?
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If IsDate(TextBox1) Then
MsgBox("well done")
Else
MsgBox("you failed")
End If
End Sub