microseconds not nano
This commit is contained in:
parent
635ba4537e
commit
86d7fd5d0c
|
@ -80,16 +80,15 @@ time.}
|
|||
@defproc[(current-inexact-milliseconds) real?]{
|
||||
|
||||
Returns the current time in milliseconds since midnight UTC, January
|
||||
1, 1970. The fractional part counts nanoseconds.
|
||||
1, 1970. The result may contain fractions of a millisecond.
|
||||
|
||||
Example
|
||||
@racketblock[
|
||||
@examples[(eval:alts
|
||||
(current-inexact-milliseconds)
|
||||
1289513737015.418
|
||||
]
|
||||
)]
|
||||
|
||||
In this example @racket[1289513737015] is in milliseconds and @racket[418]
|
||||
is in nanoseconds.}
|
||||
is in microseconds.}
|
||||
|
||||
|
||||
@defproc[(current-process-milliseconds [thread (or/c thread? #f)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user