Handbook
Glossary
duration>minutes ( duration -- x )
Calendar
ยป
Using durations
Prev:
duration>hours ( duration -- x )
Next:
duration>seconds ( duration -- x )
Vocabulary
calendar
Inputs
duration
a
duration
Outputs
x
a
number
Word description
Calculates the length of a duration in minutes.
Examples
USING: calendar prettyprint ; 6 hours duration>minutes .
360
See also
duration>years
,
duration>months
,
duration>days
,
duration>hours
,
duration>seconds
,
duration>milliseconds
,
duration>microseconds
,
duration>nanoseconds
Definition
USING:
math
;
IN:
calendar
:
duration>minutes
( duration -- x )
duration>years
minutes-per-year
*
;