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