You are reading a single comment by @Numerist and its replies.
Click here to read the full conversation.
-
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.
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.