What is the time resolution for TimeStamp?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

What is the time resolution for TimeStamp?

Alex Schenkman
Hi List:

I've looked at the source code for DateAndTime and TimeStamp but I do not understand it.

| t1 t2 |
t1 := TimeStamp now.
(Delay forMilliseconds: 500 ) wait.
t2 := TimeStamp now.

(t2 - t1) nanoSeconds.  ---> 0

DateAndTime>>clockPrecision says 1 nanosecond.

Thanks in advance!