I have a string variable that holds a date on one format or another. How do I test whether the string in the variable is actually a date.
The tmpstart is supposed to contain a date but, if it is empty it does not register a being null, hence the question.
Thanks for looking
Penfound
The tmpstart is supposed to contain a date but, if it is empty it does not register a being null, hence the question.
B4X:
If tmpStart = Null Then
Label14.TextColor=Colors.Red
Label14.Text = "Choose Course"
Else
Label14.text = tmpStart
End If
Thanks for looking
Penfound