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