[racket-dev] (current-date)

From: Pierpaolo Bernardi (olopierpa at gmail.com)
Date: Wed Jan 30 17:20:45 EST 2013

Hello,

current-date returns a time* struct wich has a granularity of 1 s.

Using  (seconds->date (* #i1/1000 (current-inexact-milliseconds))) appears
to works better.

Any reason not to define current-date in this way? there's a nanosecond
field there wanting to get into action.

Cheers
P.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20130130/4cd544f0/attachment-0001.html>

Posted on the dev mailing list.