You are reading a single comment by @Numerist and its replies. Click here to read the full conversation.
  • That may be too small adjustment. setTime has 1 second accuracy and with the delay-trick I'm using it's much better, but still I think adjustment should be well over 100 ms.

    Otherwise the error from setting time can be larger than the adjustment and it would actually make clock accuracy worse than without any adjustment.

  • May there also be a good way to do this without setTime? One that would allow a smaller decrement. There's presumably a way to getMilliseconds.

  • There is no other way currently - you can get time at millisecond accuracy but can't set time that accurately.

    @Gordon Would it be possible to add setTime with better accuracy than one second?

    EDIT: That's not actually needed, current setTime can reach better than 10 ms accuracy when used with delay and some checks.

About

Avatar for Numerist @Numerist started