I'm using B4i but perhaps this applies to B4A as well...
I'm getting what appears to be an extra hour when I return this:
compared to this:
e.g. the top one returns 01:00:25 while the second returns 0.425 when the time difference is about 25 seconds.
I think i must be not understanding something about datetime's so the answer as to what is happening would be great
I'm getting what appears to be an extra hour when I return this:
B4X:
DateTime.Time(endTime-startTime)
B4X:
((endTime-startTime)/(1000*60))
e.g. the top one returns 01:00:25 while the second returns 0.425 when the time difference is about 25 seconds.
I think i must be not understanding something about datetime's so the answer as to what is happening would be great