note about milliseconds and nanoseconds
This commit is contained in:
parent
5a9c469b0f
commit
c17cf8db71
|
@ -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)])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user