I have the following condition:

But the date string is in this format "dd/MM/yyyy"

If not IsDate(txtMyDate.Text) then

I am getting an error message date is in wrong tstring format.

Thank you very much foir the information.