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

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


Vocabulary
calendar

Inputs
durationa duration


Outputs
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