From c17cf8db71322b95bc546db7af75e51de9335f8f Mon Sep 17 00:00:00 2001 From: Jon Rafkind Date: Thu, 11 Nov 2010 15:27:42 -0700 Subject: [PATCH] note about milliseconds and nanoseconds --- collects/scribblings/reference/time.scrbl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/collects/scribblings/reference/time.scrbl b/collects/scribblings/reference/time.scrbl index 00018d6930..213d324da3 100644 --- a/collects/scribblings/reference/time.scrbl +++ b/collects/scribblings/reference/time.scrbl @@ -80,7 +80,16 @@ time.} @defproc[(current-inexact-milliseconds) real?]{ 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)])