Using
I want to get the time difference between 2 times.
I tried using on a button click
and then the message box shows:
java.lang.NumberFormatException: Invalid double: "[Days=0, Hours=0, IsInitialized=true, Minutes=0, Months=0, Seconds=14, Years=0]"
How can I change it so it appears as 00:00:14 ?
B4X:
Dim span as Period
I tried using on a button click
B4X:
Dim span2 As String
span = DateUtils.PeriodBetween(StartTime, endTime)
span2 = span
Msgbox(span2,"")
java.lang.NumberFormatException: Invalid double: "[Days=0, Hours=0, IsInitialized=true, Minutes=0, Months=0, Seconds=14, Years=0]"
How can I change it so it appears as 00:00:14 ?