IT. Expert System.

VBS

IsDate()


Description

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.

Note: The IsDate function uses local setting to determine if a string can be converted to a date ("January" is not a month in all languages.)

This function has the form:

IsDate(expression)
Parameter Description
expression (required) The expression to be evaluated

Examples

The following examples show the basic use of this function:

Example 1

Legal dates:

Msgbox(IsDate("April 22, 1947"))
Msgbox(IsDate(#01/31/10#))

The output of the code above will be:

True
True

Example 2

Illegal dates:

Msgbox(IsDate("#01/31/10#"))
Msgbox(IsDate("52/17/2010"))
Msgbox(IsDate("Hello World!"))

The output of the code above will be:

False
False
False

Miscellaneous Information

Supported in Version: 1.0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 488 / 158779679. Delta: 0.00290 с