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