duration>microseconds ( duration -- x )
Calendar ยป Using durations

Prev:duration>milliseconds ( duration -- x )
Next:duration>nanoseconds ( duration -- x )


Vocabulary
calendar

Inputs
durationa duration


Outputs
xa number


Word description
Calculates the length of a duration in microseconds.

Examples
USING: calendar prettyprint ; 6 seconds duration>microseconds .
6000000


See also
duration>years, duration>months, duration>days, duration>hours, duration>minutes, duration>seconds, duration>milliseconds, duration>nanoseconds

Definition