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