Hi all.
It might be a dumb question but I can't find an answer.
I have a simple code
In B4i it crashes on line 7 (highlighted) with an exception
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 " Error parsing: 11/26/2020 11:52:20" UserInfo={NSLocalizedDescription= Error parsing: 11/26/2020 11:52:20}>
but if I copy / past it into B4A - it works.
What am I doing wrong?
Thanks
It might be a dumb question but I can't find an answer.
I have a simple code
DateTime.DateParse:
Try
DateTime.TimeFormat="HH:mm:ss"
DateTime.DateFormat="MM/dd/yyyy"
Dim l As Long
l=DateTime.DateParse("11/26/2020 11:52:20")
xui.MsgboxAsync("L=" & l, "B4X")
Catch
Log(LastException)
xui.MsgboxAsync(LastException,"B4X")
End Try
In B4i it crashes on line 7 (highlighted) with an exception
<B4IExceptionWrapper: Error Domain=caught_exception Code=0 " Error parsing: 11/26/2020 11:52:20" UserInfo={NSLocalizedDescription= Error parsing: 11/26/2020 11:52:20}>
but if I copy / past it into B4A - it works.
What am I doing wrong?
Thanks