bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MS Access IsDate() Function

Concept visual

MS Access IsDate() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Check whether the expression can be converted to a date:

Select

IsDate(Now());

Definition and Usage

The IsDate() function checks whether an expression can be converted to a date. This function returns a Boolean value. TRUE (-1) indicates that the expression is a valid date, and FALSE (0) indicates that the expression is not a valid date.

Syntax

IsDate(

expression )

Parameter Values

Parameter

Description expression

Required. The value to test

Technical Details

Works in:

From Access 2000

More Examples

Example

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

Select

IsDate("Hello");

Example

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

Select

IsDate("August 25, 2017");

Example

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

SELECT IsDate(#25/8/2017#);

Previous

❮ MS Access Functions

Next

Previous

MS Access Environ() Function

Next

MS Access IsNull() Function