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