Millisecond clock resolution for DateAndTime now

Avi Bryant avi at beta4.com
Tue Sep 21 21:22:09 UTC 2004


On Sep 20, 2004, at 7:35 AM, John M McIntosh wrote:

> You should beware that when the millisecond clock wraps is vm version 
> and os dependent.
> It might not wrap at 9999999... rather some power of two.

Ah, right, that's interesting.  So the current millisecond clock value 
should be stored with the offset, and if the clock ever drops below 
that value, that's a signal that you need to recalibrate.

Avi




More information about the Squeak-dev mailing list