Wednesday 25 July 2012

VB.NET - How to check if specified variable is of Date format

        Dim sDate As String = "1/1/2000"
        Dim dtIsDate As Date
        If IsDate(sDate) Then
            dtIsDate = sDate
        End If


More Info:

No comments:

Post a Comment