HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
The IsDate function returns a Boolean value that indicates if the evaluated expression can be converted to a date. It returns True if the expression is a date or can be converted to a date; otherwise, it returns False."
Parameter | Description |
---|---|
expression | Required. The expression to be evaluated |
Legal dates:
<%
response.write(IsDate("April 22, 1947"))
response.write("<br />")
response.write(IsDate(#01/31/10#))
%>
The output of the code above will be:
True
True
Illegal dates:
<%
response.write(IsDate("#01/31/10#"))
response.write("<br />")
response.write(IsDate("52/17/2010"))
response.write("<br />")
response.write(IsDate("Hello World!"))
%>
The output of the code above will be:
False
False
False
❮ Complete VBScript Reference