str1 ="11/09/2019 03:17:43" 'this is date time sample it got from b4j server
Do While str1.Contains(" ")
str1 = str1.Replace(" ","|")
Loop
Dim serverDateTime() As String
serverDateTime = Regex.Split("\|", str1.Trim)
DateTime.DateFormat = "MM/dd/yyyy"
DateTime.TimeFormat = "HH:mm:ss"
Dim ServerTick As Long = DateTime.DateTimeParse(serverDateTime(0), serverDateTime(1)) ->error in iOS 13.2.2
This code is successfully run until iOS 13.2.
Now my iPhones and iPads are update to 13.2.2. My App shows date time parse error. How can I fix it.
If you could log the interim values, eg str1 before (yes...) and after replacing spaces with "|", and serverDateTime(0) and (1), and then post the log including the error message, that would make it easier to determine where the problem arises and thus how to fix it.
This project is run on iOS 14.2.x, 13.2.
But It shows parsing error at line 81 on iOS 13.2.2.
This sample project get server successful message string that included date/time
and convert to local date/time in device.
How can I get server ticks from client b4i?