eFP3B‖IsDate Function

Contents
ygEMw‖

# AeABQ‖IsDate Function

GHcvs‖Tests if a numeric or string expression can be converted to a Date variable.

## grWRs‖Syntax:

    NAK7y‖IsDate (Expression)

## TW5An‖Return value:

Boolean

## D758U‖Parameters:

F6Jfd‖ Expression: Any numeric or string expression that you want to test. If the expression can be converted to a date, the function returns True, otherwise the function returns False.

### SEjHR‖Error codes:

5 Invalid procedure call

## MLSNK‖Example:

    Sub ExampleIsDate
    Dim sDateVar As String
        sDateVar = "1997-12-12"
        Print IsDate(sDateVar) ' True
        sDateVar = "12121997"
        Print IsDate(sDateVar) ' False
    End Sub

Please support us!