Milliseconds in Moment-API

Hi,

I do not know if this is the right place for this, but I would like to suggest a change to Connect IQ APIs. In my case I would need the milliseconds of the Moment-Api. Or is there any other way to get the current milliseconds?

Thanks!

Bye
  • There are some things you see in milliseconds, such as Activity.Info.elapsedTime and timerTime.

    You can get the current ms timer with Sys.getTimer() and use that if you want to compute the time between different things.

    As far as clock time, that's in seconds.
  • There are some things you see in milliseconds, such as Activity.Info.elapsedTime and timerTime.

    You can get the current ms timer with Sys.getTimer() and use that if you want to compute the time between different things.

    As far as clock time, that's in seconds.


    Thank you very much, System.getTimer() was what I needed.

    Bye