/ Published in: Visual Basic
This method checks whether a given string is a valid date (current regional settings are used)
Expand |
Embed | Plain Text
Private Function isDate(dateString As String) As Boolean On Error GoTo NoDate Dim test As Date test = DateValue(dateString) isDate = True Exit Function NoDate: isDate = False End Function
You need to login to post a comment.
