Easy Date Validation in Visual Basic
This article describes a simple approach to validating dates received as strings (e.g., 2/21/2008).
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Easy Date Validation in Visual Basic


James MouchetteditedPosted Mar 12, 2009, 7:08 AM EDTEdited Mar 12, 2009, 7:10 AM EDT
Try FormatDateTime(DateString, DateFormat.GeneralDate) MsgBox("Valid Date") Catch ex As Exception MsgBox("Invalid Date") End Try This seems much faster and is already a part of VB.Net.