[plt-scheme] gmt?

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Thu Aug 31 17:18:11 EDT 2006

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


Posted on the users mailing list.