The IsDate won't check for formatting issues, it's not that picky. You could use the IsDate to verify that you can convert it to a date and then use the Format function to put it in the format you want.
Code:
If IsDate(DateStr) Then
Text1.Text = Format(DateStr, "DD/MM/YYYY")
Else
MsgBox "Invlid Date"
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.