Changes

Working with Dates and Times in Visual Basic

6 bytes added, 20:06, 2 August 2007
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.