Module
Contents
Index 🔎︎

# IsDate Function

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

## Syntax:

    Str (Výraz)

## Návratová hodnota:

Bool

## Paremetre:

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.

## Error codes:

5 Neplatné volanie procedúry

## Príklad:

    Sub ExampleIsDate

    Dim sDateVar As String

        sDateVar = "12.12.1997"

        Print IsEmpty(sVar) REM Returns True

        sDateVar = "12121997"

        Print IsNumeric(vVar) REM vráti False

    End Sub