[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Scheme-reports] No procedure to ask the current time?
On Thu, Sep 02, 2010 at 12:21:35AM +0900, Alex Shinn wrote:
> Hi, thanks for the feedback.
> A time and date library is on the table for WG2, but it's a
> surprisingly complicated subject. For example, the
> interface you give doesn't provide any accessors on the time
> object. Presumably, once you add these, you need to get
> into the topic of timezones, which aren't simple offsets
> from UTC but rather complex geopolitical concepts. Then
> there are leap-seconds, and dates and calendars, etc. and
> it's a nightmare. And Gregorian isn't the only calendar
> that matters - neither of the two calendar systems I use
> most frequently are Gregorian.
OK, I see the problem!
> Something like just a vaguely specified (current-seconds)
> might be reasonable though.
Yes -- that would be nice. I see that my idea was a bit
The time procedures then could in theory be implemented using
Scheme-reports mailing list