note about milliseconds and nanoseconds

This commit is contained in:
Jon Rafkind 2010-11-11 15:27:42 -07:00
parent 5a9c469b0f
commit c17cf8db71

View File

@ -80,7 +80,16 @@ time.}
@defproc[(current-inexact-milliseconds) real?]{ @defproc[(current-inexact-milliseconds) real?]{
Returns the current time in milliseconds since midnight UTC, January Returns the current time in milliseconds since midnight UTC, January
1, 1970.} 1, 1970. The fractional part counts nanoseconds.
Example
@racketblock[
(current-inexact-milliseconds)
1289513737015.418
]
In this example @racket[1289513737015] is in milliseconds and @racket[418]
is in nanoseconds.}
@defproc[(current-process-milliseconds [thread (or/c thread? #f)]) @defproc[(current-process-milliseconds [thread (or/c thread? #f)])