..
The IsDate function, Boolean, returns true if the value is a date passatole and False otherwise.
The syntax is as follows:
document.write (IsDate ("12/04/1978"))
The function returns True "IsDate" is frequently used to check whether the filtered value is a date or not, then perform different routines depending on the result, as in the following:
Dim value
value = "12/04/1978"
If IsDate (Value) = False Then
document.write ('E' a given ')
Else
document.write ("It's not a date")
End If
Returns "is not empty."
document.write (IsDate ("123/543/0078"))
returns False.
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
Visual Basic 6 (Course)
Make Desktop Applications with VB6. From 39 €. |