Handbook
Glossary
days ( x -- duration )
Calendar
ยป
Using durations
Prev:
weeks ( x -- duration )
Next:
hours ( x -- duration )
Vocabulary
calendar
Inputs
x
a
number
Outputs
duration
a
duration
Word description
Creates a duration object with the specified number of days.
See also
years
,
months
,
hours
,
minutes
,
seconds
,
milliseconds
,
microseconds
,
nanoseconds
Definition
USING:
accessors
kernel
;
IN:
calendar
:
days
( x -- duration )
instant
swap
>>day
;