iOS Question DateTime between two ticks

Discussion in 'iOS Questions' started by Albi, Mar 31, 2015.

  1. Albi

    Albi Active Member Licensed 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:
    Code:
    DateTime.Time(endTime-startTime)
    compared to this:
    Code:
    ((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
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Albi likes this.
  3. Albi

    Albi Active Member Licensed User

    thanks!
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice