duration>months ( duration -- x )
Calendar > Using durations

Prev:duration>years ( duration -- x )
Next:duration>days ( duration -- x )


Vocabulary
calendar

Inputs and outputs
durationa duration
xa number


Word description
Calculates the length of a duration in months.

Examples
USING: calendar prettyprint ; 30 days duration>months .
16000/16233


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

Definition