2005 Visual Studio Date Validation
Posted on 2006-11-03
I have a DataGridView that contains a User Entry column. I load a default value dates into the column in the MM/DD/YYYY format. The user can accept the default or change it to a different value. Is there a function that will tell me if what the user entered is a valid date regardless of the format? In other words, does vb.net "know" or have a list of acceptable date formats that it can check a value against and say if it matched a correct format or not?