* Christian Gollwitzer <
auri...@gmx.de>
But be aware of the subtle differences between "24 hours" and "1 day":
% clock format [clock scan "now"]
Mon Jan 23 10:53:41 CET 2023
% clock format [clock scan "now + 24 hours"]
Tue Jan 24 10:53:41 CET 2023
% clock format [clock scan "now + 1 day"]
Tue Jan 24 00:00:00 CET 2023
% clock format [clock scan tomorrow]
Tue Jan 24 00:00:00 CET 2023
% info patchlevel
8.6.13
I would have expected that "now + 1 day" produces the same result as
"now + 24 hours", since the docs state:
FREE FORM SCAN
relative time
A specification relative to the current time. The format is
number unit. Acceptable units are year, fortnight, month, week,
day, hour, minute (or min), and second (or sec). The unit can
be specified as a singular or plural, as in 3 weeks. These mod-
ifiers may also be specified: tomorrow, yesterday, today, now,
last, this, next, ago.
The actual date is calculated according to the following steps.
First, any absolute date and/or time is processed and converted. Using
that time as the base, day-of-week specifications are added. Next,
relative specifications are used.
!!! If a date or day is specified, and no absolute or relative
!!! time is given, midnight is used.
Finally, a correction is applied so that the correct hour of the
day is produced after allowing for daylight savings time
differences and the correct date is given when going from the end
of a long month to a short month.
(Emphasis by me)
HTH
R'