now

Started by newdep, August 19, 2005, 03:47:20 PM

Previous topic - Next topic

newdep

now
Hi Lutz,



The manual speeks of Microseconds with 'now on OS-Specific.

What does that exactly mean? that i.e. windows does not have it

but unix does?



Im using that for my random generator but need to know if

its portable to windows.. (seed (nth 6 (now)))



Regards, Norman.
-- (define? (Cornflakes))

Lutz

#1
The value is always given in microseconds but on Linux it might say:



123456



and on Windows



123000



In both cases it means roughly 123 milliseconds but on Linux we have a better resolution, while on Windows the last three digits will always be 000 rounded to the nearest millisecond.



Lutz

newdep

#2
Thanks!
-- (define? (Cornflakes))