I have the following code:
The result is:
I cannot understand why I get the additional " 16:15:35"
B4X:
DateTime.DateFormat="dd-MM-yyyy HH:mm:ss"
Dim MyTime As String
Dim MyTime As String
MyTime = DateUtils.TicksToString(DateTime.Now)
B4X:
25-07-2017 16:15:35 16:15:35