MS Access IsDate() Function
THE WORLD'S LARGEST WEB DEVELOPER SITE

MS Access IsDate() Function

❮ MS Access Functions

Example

Return TRUE (-1) if the expression is a valid date, otherwise FALSE (0):

SELECT IsDate(Now());
Try it Yourself »

Definition and Usage

The IsDate() function returns TRUE (-1) if the expression is a valid date, otherwise FALSE (0).

Syntax

IsDate(expression)

Parameter Values

Parameter Description
expression Required. The value to test

Technical Details

Works in: Access 2016, Access 2013, Access 2010, Access 2007, Access 2003, Access XP, Access 2000

More Examples

Example

Return TRUE if the expression is a valid date, otherwise FALSE:

SELECT IsDate("Hello");
Try it Yourself »

Example

Return TRUE if the expression is a valid date, otherwise FALSE:

SELECT IsDate("August 25, 2017");
Try it Yourself »

Example

Return TRUE if the expression is a valid date, otherwise FALSE:

SELECT IsDate(#25/8/2017#);
Try it Yourself »

❮ MS Access Functions