0

Hello,
Can anyone tell me how do we validate date entered in a text box?
I went to check whether the entered date in the text box is of correct date format.
Please help me out!!

4
Contributors
7
Replies
18
Views
9 Years
Discussion Span
Last Post by M. Ashok Reddy
0

the data type is of date type,this i will enter in a text box.I just want to validate that the entered text in the text box is of correct format(date type).

2
If IsDate(textDate.Text) = True Then
            MsgBox("correct date")
        Else
            MsgBox("input correct date")
        End If
Votes + Comments
great
usefull
0

Hey thanks Narue n Jx_Man, both the codes are actually working... :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.