[prev in list] [next in list] [prev in thread] [next in thread]
List: racket-users
Subject: [plt-scheme] gmt?
From: jensaxel () soegaard ! net (=?ISO-8859-1?Q?Jens_Axel_S=F8gaard?=)
Date: 2006-08-31 21:18:11
Message-ID: 44F75213.8050307 () soegaard ! net
[Download RAW message or body]
Doug Orleans skrev:
> Matthew Flatt writes:
> > At 31 Aug 2006 00:07:47 -0000, Paul Graham wrote:
> > > Is there any way to get gm time from plt? Any equiv of cl
> > > get-universal-time?
> >
> > Although the docs claim that `current-seconds' is platform-specific,
> > it's actually always seconds since the beginning of 1970 UTC. So it's
> > like `get-universal-time', but offset by 70 years.
> >
> > I'll change the docs, so you can rely on the current behavior.
> >
> > Matthew
>
> See also SRFI 19: Time Data Types and Procedures.
>
> http://srfi.schemers.org/srfi-19/srfi-19.html
There is also Neil's RFC3339 library. Srfi-19 has
an reputation of being buggy - whether it is deserved or
not I don't know, I have no first habd experience.
<http://ja.soegaard.net/planet/html/neil/rfc3339.plt/current/doc.txt>
--
Jens Axel S?gaard
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic