Public dateFormat as string = "dd/MMM/yy"3 M's not 2. That forces the user to enter 13/dec/11. There is no ambiguity there.
>Imports System.Threading >Imports System.Globalization > >Public dateFormat As String = "dd/MM/yy" > > Function checkDate(ByVal c As String) As Boolean > Dim d As Date > Return Date.TryParseExact(c, dateFormat, CultureInfo.CurrentCulture, DateTimeStyles.AssumeLocal, d) > End Function >