IsDate Function [Runtime] /text/sbasic/shared/03102300.xhp Sun Microsystems, Inc. converted from old format - fpe
IsDate function IsDate Function [Runtime] Tests if a numeric or string expression can be converted to a Date variable.
Syntax: IsDate (Expression) Return value: Bool Parameters: 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 ExampleIsDate Dim sDateVar as String sDateVar = "12.12.1997" print IsDate(sDateVar) REM Returns True sDateVar = "12121997" print IsDate(sDateVar) REM Returns False end sub