sequence of dates Arthur A. Gleckler (13 Oct 2022 05:57 UTC)
Re: sequence of dates Marc Nieper-Wißkirchen (13 Oct 2022 06:01 UTC)
Re: sequence of dates Arthur A. Gleckler (13 Oct 2022 17:31 UTC)
Re: sequence of dates Ray Dillinger (13 Oct 2022 18:03 UTC)
Re: sequence of dates Marc Nieper-Wißkirchen (13 Oct 2022 18:04 UTC)
Re: sequence of dates Arthur A. Gleckler (13 Oct 2022 18:08 UTC)
Re: sequence of dates Arthur A. Gleckler (13 Oct 2022 18:37 UTC)
Re: sequence of dates Shiro Kawai (13 Oct 2022 06:38 UTC)
Re: sequence of dates Arthur A. Gleckler (13 Oct 2022 18:04 UTC)

Re: sequence of dates Marc Nieper-Wißkirchen 13 Oct 2022 06:00 UTC

You can add 86,400 UTC "seconds" per day if you want UTC dates.

Am Do., 13. Okt. 2022 um 07:58 Uhr schrieb Arthur A. Gleckler
<xxxxxx@speechcode.com>:
>
> Is there a reliable way to create a sequence of dates using SRFI 19? I'd like to start with a date object and produce twenty-plus years of consecutive date objects after that one. I see add-duration and time-difference, but I thought one wasn't supposed to rely on the amount of time between any two consecutive days being consistent, i.e. adding 86,400 seconds isn't technically correct because of leap seconds, etc.
>
> I know that I could hack something together that would work for the time range I'm expecting to use, but SRFI 19 seems to be trying to do the Right Thing in general. If possible, I'd like to use it correctly.
>
> Thanks.