LibreOffice 7.3 Help
Tests if a numeric or string expression can be converted to a Date variable.
IsDate (Izraz)
Bool
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.
Sub ExampleIsDate
Dim sDateVar As String
sDateVar = "12.12.1997"
Ispis IsDate(sDateVar) REM vraca True (istina)
sDateVar = "12121997"
ispis IsDate(sDateVar) REM vraca False (laz)
End Sub