[plt-scheme] seconds->date 32bit limitation

From: YC (yinso.chen at gmail.com)
Date: Wed Feb 18 21:25:03 EST 2009

On Wed, Feb 18, 2009 at 6:16 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:

>
> > I noticed that date->seconds can return numbers outside of the range for
> > seconds->date, and wonder whether seconds->date can be expanded to handle
> > the greater range easily.
>
> Do you mean `date->seconds' or `find-seconds'? I don't think
> `find-seconds' can return an out-of-range result, because it uses
> `seconds->date' to find a match. But maybe you mean a `date->seconds'
> function that I don't know.
>

My bad.  I forgot date->seconds is a wrapper I created on srfi/19's
date->time-utc.

So is this only fixable when the 2038 bug is addressed?  Thoughts on
integrating srfi/19 into core?

Thanks,
yc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090218/7efd65f0/attachment.html>

Posted on the users mailing list.