34,333
edits
Changes
→Checking if a Value is a Date
</pre>
== Checking if a Value is a Valid Date ==
Visual Basic provides the ''IsDate()'' function to ascertain whether a value is a valid date or not. This can be useful for checking that a user has entered a valid date into TextBox control. The ''IsDate()'' function takes a value as a parameter and returns ''True'' or ''False'' depending on whether the value is a valid date or not.