if I only care about day resolution (i.e. a date object with
hours/minutes/seconds/nanoseconds being all zero) I generally go via
modified julian day.


On Wed, Oct 12, 2022 at 7:58 PM Arthur A. Gleckler <s...@speechcode.com>
wrote:

> 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.
>

Reply via email to