IsDate

This function determines whether an expression can be converted to a date.

Syntax

IsDate(expression)

Parameters

expression
Any date expression or string expression recognizable as a date or time.

Return Values

Returns True if the expression is a date or can be converted to a valid date; otherwise, it returns False.

Remarks

In Windows-based applications, the range of valid dates is January 1, 100 through December 31, 9999; the ranges vary among operating systems.