IsDate Function/text/sbasic/shared/03102300.xhpIsDate functionIsDate FunctionTests if a numeric or string expression can be converted to a Date variable.Syntax:IsDate (Expression)Return value:BooleanParameters: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.Example:Sub ExampleIsDateDim sDateVar As String sDateVar = "12.12.1997" Print IsDate(sDateVar) ' True sDateVar = "12121997" Print IsDate(sDateVar) ' FalseEnd Sub