iOS Question DateTime between two ticks

Albi

Active Member
Licensed User
Longtime User
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:
B4X:
DateTime.Time(endTime-startTime)
compared to this:
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
 
Top