IsDate()

Top  Previous  Next

IsDate() - Date Validity Check

Description

The IsDate() function checks whether the supplied expression is a valid date string and returns either true or false.

Boolean = IsDate(Date String)

Result True or False

Example

If IsDate("1/4/1996") Then

   SMEvent.Raise "Trace", "That is a valid date"

End If